Skip to content

Conversation

@dirkkul
Copy link
Collaborator

@dirkkul dirkkul commented Aug 23, 2024

search

    objs = collection.query.hybrid(
        "banana",
        vector=vector,
        target_vector=TargetVectors.sum(["first", "second"]),
        max_vector_distance=distance,
    ).objects

aggregate

    res = collection.aggregate.hybrid(
        "banana",
        vector=vector,
        max_vector_distance=distance,
        return_metrics=[wvc.aggregate.Metrics("name").text(count=True)],
    )

@dirkkul dirkkul requested a review from a team as a code owner August 25, 2024 08:25
@dirkkul dirkkul force-pushed the hybrid_vector_distance branch from 8772cff to d189764 Compare August 27, 2024 11:02
@dirkkul dirkkul merged commit 0051a20 into main Aug 27, 2024
@dirkkul dirkkul deleted the hybrid_vector_distance branch August 27, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants