Skip to content

Commit

Permalink
Update integrations/qdrant/src/haystack_integrations/document_stores/…
Browse files Browse the repository at this point in the history
…qdrant/document_store.py

Co-authored-by: Anush  <[email protected]>
  • Loading branch information
Corentin and Anush008 authored Mar 25, 2024
1 parent a72b65b commit 827b826
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def _set_up_collection(
if self.use_sparse_embeddings:
current_distance = collection_info.config.params.vectors[DENSE_VECTORS_NAME].distance
current_vector_size = collection_info.config.params.vectors[DENSE_VECTORS_NAME].size
if not self.use_sparse_embeddings:
else:
current_distance = collection_info.config.params.vectors.distance
current_vector_size = collection_info.config.params.vectors.size

Expand Down

0 comments on commit 827b826

Please sign in to comment.