Skip to content

Commit

Permalink
Add MongoDBAtlasDocumentStore api reference (#6640)
Browse files Browse the repository at this point in the history
* Update import path of MongoDBAtlasDocumentStore
  • Loading branch information
bilgeyucel authored Dec 28, 2023
1 parent 5ff81c2 commit 123cfd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/pydoc/config/document-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ loaders:
"es8",
"opensearch",
"memory",
"mongodb_atlas",
"sql",
"faiss",
"weaviate",
Expand Down
1 change: 1 addition & 0 deletions haystack/document_stores/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
from haystack.document_stores.faiss import FAISSDocumentStore
from haystack.document_stores.pinecone import PineconeDocumentStore
from haystack.document_stores.weaviate import WeaviateDocumentStore
from haystack.document_stores.mongodb_atlas import MongoDBAtlasDocumentStore
2 changes: 1 addition & 1 deletion haystack/document_stores/mongodb_atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(
):
"""
Document Store using MongoDB Atlas as a backend (https://www.mongodb.com/docs/atlas/getting-started/).
It is compatible with EmbeddingRetrievers and filters.
It is compatible with EmbeddingRetriever and filters.
:param mongo_connection_string: MongoDB Atlas connection string in the format: "mongodb+srv://{mongo_atlas_username}:{mongo_atlas_password}@{mongo_atlas_host}/?{mongo_atlas_params_string}".
:param database_name: Name of the database to use.
Expand Down

0 comments on commit 123cfd7

Please sign in to comment.