Skip to content

Commit fe344f5

Browse files
Apply suggestions from code review
Co-authored-by: bogdankostic <bogdankostic@web.de>
1 parent ed1b560 commit fe344f5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • integrations
    • opensearch/src/haystack_integrations/document_stores/opensearch
    • qdrant/src/haystack_integrations/components/retrievers/qdrant

integrations/opensearch/src/haystack_integrations/document_stores/opensearch/document_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ async def _embedding_retrieval_async(
15151515
search_kwargs: dict[str, Any] | None = None,
15161516
) -> list[Document]:
15171517
"""
1518-
Asynchronously retrieve documents most similar to the query embedding using a vector similarity metric.
1518+
Asynchronously retrieves documents most similar to the query embedding using a vector similarity metric.
15191519
15201520
It uses the OpenSearch's Approximate k-Nearest Neighbors search algorithm.
15211521

integrations/qdrant/src/haystack_integrations/components/retrievers/qdrant/retriever.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ async def run_async(
482482
@component
483483
class QdrantHybridRetriever:
484484
"""
485-
A component for retrieving documents from an QdrantDocumentStore using both dense and sparse vectors.
485+
A component for retrieving documents from a QdrantDocumentStore using both dense and sparse vectors.
486486
487487
Fuses the results using Reciprocal Rank Fusion.
488488

0 commit comments

Comments
 (0)