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

fix: Chroma DocumentStore creation for pre-existing collection name #157

Conversation

sahusiddharth
Copy link
Contributor

fixes: #154

This PR addresses a bug in the ChromaDocumentStore initialization process.

Used the inbuilt chroma function get_or_create_collection which checks if the specified collection already exists. If it does, the ChromaDocumentStore now connects to the existing collection instead of attempting to create a new one.

@sahusiddharth sahusiddharth requested a review from a team as a code owner December 31, 2023 03:59
@sahusiddharth sahusiddharth requested review from vblagoje and removed request for a team December 31, 2023 03:59
@anakin87 anakin87 self-requested a review January 5, 2024 16:36
Copy link
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

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

Hey!

Thanks for fixing this 💟

@anakin87 anakin87 merged commit 10dcef0 into deepset-ai:main Jan 5, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chroma DocumentStore throws error at creation if collection exists
2 participants