Skip to content

Commit

Permalink
Update qdrant-landing/content/documentation/embeddings/jina-embedding…
Browse files Browse the repository at this point in the history
…s.md

Co-authored-by: Anush  <[email protected]>
  • Loading branch information
mrscoopers and Anush008 authored Nov 21, 2024
1 parent 9bca60e commit 4ae75a6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,12 @@ data = {
response = requests.post(url, headers=headers, json=data)
query_embedding = response.json()["data"][0]["embedding"]

search_results = client.search(
search_results = client.query_points(
collection_name=collection_name,
query_vector=("image_vector", query_embedding), # Search against image vectors
query=query_embedding,
using="image_vector",
limit=5
)
).points

for result in search_results:
print(f"ID: {result.id}, Score: {result.score}")
Expand Down

0 comments on commit 4ae75a6

Please sign in to comment.