mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-25 14:08:30 +02:00
Replacing deprecated search with query_points
This commit is contained in:
@@ -73,9 +73,9 @@ client.upsert(
|
||||
Once the documents are indexed, you can search for the most relevant documents using the Embed v3 model:
|
||||
|
||||
```python
|
||||
client.search(
|
||||
client.query_points(
|
||||
collection_name="MyCollection",
|
||||
query_vector=cohere_client.embed(
|
||||
query=cohere_client.embed(
|
||||
model="embed-english-v3.0", # New Embed v3 model
|
||||
input_type="search_query", # Input type for search queries
|
||||
texts=["The best vector database"],
|
||||
|
||||
Reference in New Issue
Block a user