diff --git a/qdrant-landing/content/documentation/embeddings/openai.md b/qdrant-landing/content/documentation/embeddings/openai.md index 4ffe4c888b..fcf1e72224 100644 --- a/qdrant-landing/content/documentation/embeddings/openai.md +++ b/qdrant-landing/content/documentation/embeddings/openai.md @@ -80,9 +80,9 @@ client.upsert(collection_name, points) Once the documents are indexed, you can search for the most relevant documents using the same model. ```python -client.search( +client.query_points( collection_name=collection_name, - query_vector=openai_client.embeddings.create( + query=openai_client.embeddings.create( input=["What is the best to use for vector search scaling?"], model=embedding_model, )