Skip to content

Commit

Permalink
Update integrations/mongodb_atlas/src/haystack_integrations/component…
Browse files Browse the repository at this point in the history
…s/retrievers/mongodb_atlas/embedding_retriever.py

Co-authored-by: Madeesh Kannan <[email protected]>
  • Loading branch information
ZanSara and shadeMe authored Feb 21, 2024
1 parent 9b4b728 commit ca8631c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def __init__(
Create the MongoDBAtlasDocumentStore component.
:param document_store: An instance of MongoDBAtlasDocumentStore.
:param filters: Filters applied to the retrieved Documents. Defaults to None.
:param top_k: Maximum number of Documents to return, defaults to 10.
:param filters: Filters applied to the retrieved Documents.
:param top_k: Maximum number of Documents to return.
"""
if not isinstance(document_store, MongoDBAtlasDocumentStore):
msg = "document_store must be an instance of MongoDBAtlasDocumentStore"
Expand Down

0 comments on commit ca8631c

Please sign in to comment.