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

Chroma DocumentStore throws error at creation if collection exists #154

Closed
TuanaCelik opened this issue Dec 28, 2023 · 0 comments · Fixed by #157
Closed

Chroma DocumentStore throws error at creation if collection exists #154

TuanaCelik opened this issue Dec 28, 2023 · 0 comments · Fixed by #157
Labels
bug Something isn't working integration:chroma

Comments

@TuanaCelik
Copy link
Contributor

Describe the bug
When intializing the ChromaDocumentStore, if you rerun the cell without changing the collection name, you will get an error saying telling you collection already exists.

Expected behaviour: Instead of the init calling 'create' by default, if collection already exists, it should simply connect to the existing collection. The current state means we cannot reuse a collection lateron.

To Reproduce
Any colab that has a cell with document_store = ChromaDocumentSrore()
Here is one for example: https://colab.research.google.com/drive/19NzliNb5ZUo1fUbplwnUrZpNBxs9HvoR?usp=sharing

Describe your environment (please complete the following information):

  • Integration version: chroma_haystack-0.9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working integration:chroma
Projects
None yet
1 participant