Skip to content
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

Merged
merged 25 commits into from
Feb 15, 2024
Merged

feat: MongoDBAtlas Document Store #413

merged 25 commits into from
Feb 15, 2024

Conversation

ZanSara
Copy link
Contributor

@ZanSara ZanSara commented Feb 14, 2024

Related to #143

Add support for MongoDB Atlas in the form of MongoDBAtlasDocumentStore.

Note that:

  • Filters are not implemented yet
  • No retrievers are implemented yet

The missing features will be added in later PRs.

@github-actions github-actions bot added topic:CI type:documentation Improvements or additions to documentation labels Feb 14, 2024
@ZanSara ZanSara mentioned this pull request Feb 14, 2024
12 tasks
@ZanSara ZanSara marked this pull request as ready for review February 14, 2024 17:01
@ZanSara ZanSara requested a review from a team as a code owner February 14, 2024 17:01
@ZanSara ZanSara requested review from shadeMe and removed request for a team February 14, 2024 17:01
@ZanSara ZanSara self-assigned this Feb 14, 2024
@ZanSara ZanSara requested a review from shadeMe February 15, 2024 14:59
Copy link
Contributor

@shadeMe shadeMe left a 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 👍

@ZanSara ZanSara requested a review from shadeMe February 15, 2024 16:25
@ZanSara ZanSara merged commit ca6a8e3 into main Feb 15, 2024
13 checks passed
@ZanSara ZanSara deleted the mongodb_atlas branch February 15, 2024 16:37

[tool.hatch.version]
source = "vcs"
tag-pattern = 'integrations\/pgmongodb-atlasvector-v(?P<version>.*)'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This tag is wrong

Copy link
Contributor Author

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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:CI type:documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants