diff --git a/qdrant-landing/content/documentation/embeddings/jina-embeddings.md b/qdrant-landing/content/documentation/embeddings/jina-embeddings.md index be59a6e2e..45c810039 100644 --- a/qdrant-landing/content/documentation/embeddings/jina-embeddings.md +++ b/qdrant-landing/content/documentation/embeddings/jina-embeddings.md @@ -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}")