Skip to content

Commit

Permalink
fix: correct method name for creating Qdrant collection in vector store
Browse files Browse the repository at this point in the history
  • Loading branch information
SawyerCzupka committed Feb 22, 2025
1 parent e228d00 commit d1f50fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml-api/src/ml_api/utils/qdrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_qdrant_vector_store(
qdrant_client.get_collection(collection_name)
except Exception:
if create_missing_collection:
qdrant_client.recreate_collection(
qdrant_client.create_collection(
collection_name=collection_name,
vectors_config=VectorParams(
size=settings.EMBEDDING_SIZE, distance=Distance.COSINE
Expand Down

0 comments on commit d1f50fb

Please sign in to comment.