-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: MongoDBAtlas Document Store #413
Conversation
...ions/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py
Outdated
Show resolved
Hide resolved
...ions/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py
Outdated
Show resolved
Hide resolved
...ions/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py
Outdated
Show resolved
Hide resolved
...ions/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py
Show resolved
Hide resolved
...ions/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py
Outdated
Show resolved
Hide resolved
...ions/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py
Outdated
Show resolved
Hide resolved
...ions/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py
Outdated
Show resolved
Hide resolved
integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/filters.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to merge after incorporating the following changes 👍
...ions/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py
Outdated
Show resolved
Hide resolved
integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/filters.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Madeesh Kannan <[email protected]>
…stores/mongodb_atlas/document_store.py Co-authored-by: Madeesh Kannan <[email protected]>
…stores/mongodb_atlas/filters.py
|
||
[tool.hatch.version] | ||
source = "vcs" | ||
tag-pattern = 'integrations\/pgmongodb-atlasvector-v(?P<version>.*)' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tag is wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was fixed right after the merge: #426
deserialize_secrets_inplace(data["init_parameters"], keys=["mongo_connection_string"]) | ||
return default_from_dict(cls, data) | ||
|
||
def count_documents(self, filters: Optional[Dict[str, Any]] = None) -> int: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't respect the protocol: https://github.com/deepset-ai/haystack/blob/main/haystack/document_stores/types/protocol.py#L38
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to #143
Add support for MongoDB Atlas in the form of
MongoDBAtlasDocumentStore
.Note that:
The missing features will be added in later PRs.