Skip to content

Conversation

@alexcheng1982
Copy link
Contributor

In the current implementation of ChromaVectorStore, when initializeSchema is set to false, collectionId will be set to null, all Chroma API calls will fail with 404 error due to empty collection id.

I updated the logic of handling initializeSchema. When the collection doesn't exist, if initializeSchema is set to true, the collection will be created. Otherwise, an exception is thrown. This makes sure that collectionId will be correctly set.

@tzolov tzolov added bug Something isn't working vector store chromadb labels Oct 6, 2024
@tzolov tzolov added this to the 1.0.0-M3 milestone Oct 6, 2024
@tzolov tzolov self-assigned this Oct 6, 2024
@tzolov
Copy link
Contributor

tzolov commented Oct 6, 2024

Thank you @alexcheng1982

rebased, squashed and merged at ae743f9

@tzolov tzolov closed this Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chromadb vector store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants