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/converters.py

Co-authored-by: Anush  <[email protected]>
  • Loading branch information
Corentin and Anush008 authored Mar 25, 2024
1 parent 1cb601d commit a3bd3d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def documents_to_batch(
sparse_vector_instance = rest.SparseVector(**sparse_vector)
vector[SPARSE_VECTORS_NAME] = sparse_vector_instance

if not use_sparse_embeddings:
else:
vector = payload.pop(embedding_field) or {}
_id = self.convert_id(payload.get("id"))

Expand Down

0 comments on commit a3bd3d3

Please sign in to comment.