Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kacperlukawski/71a3f270cc42c0d3cf56c6b3ba2a0528 to your computer and use it in GitHub Desktop.
Save kacperlukawski/71a3f270cc42c0d3cf56c6b3ba2a0528 to your computer and use it in GitHub Desktop.
from qdrant_client.http.models import NamedVector
text_results = client.search(
collection_name="ms-coco-2017",
query_vector=NamedVector(
name="text",
vector=row["text_vector"],
),
limit=5,
with_vectors=False,
with_payload=True,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment