Skip to content

Commit

Permalink
Merge branch 'mongodbatlas-emb-retriever' of github.com:deepset-ai/ha…
Browse files Browse the repository at this point in the history
…ystack-core-integrations into mongodbatlas-emb-retriever
  • Loading branch information
ZanSara committed Feb 23, 2024
2 parents aa60477 + 5c11b3f commit 2126c6e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def to_dict(self) -> Dict[str, Any]:
@classmethod
def from_dict(cls, data: Dict[str, Any]) -> "MongoDBAtlasEmbeddingRetriever":
"""
Deserializes a dictionary created with `MongoDBAtlasEmbeddingRetriever. to_dict()` into a
Deserializes a dictionary created with `MongoDBAtlasEmbeddingRetriever.to_dict()` into a
`MongoDBAtlasEmbeddingRetriever` instance.
:param data: the dictionary returned by `MongoDBAtlasEmbeddingRetriever. to_dict()`
:param data: the dictionary returned by `MongoDBAtlasEmbeddingRetriever.to_dict()`
"""
data["init_parameters"]["document_store"] = MongoDBAtlasDocumentStore.from_dict(
data["init_parameters"]["document_store"]
Expand Down

0 comments on commit 2126c6e

Please sign in to comment.