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 issue caused by chromadb error type change #3557

Merged
merged 8 commits into from
Sep 23, 2024
Merged

Fix issue caused by chromadb error type change #3557

merged 8 commits into from
Sep 23, 2024

Conversation

thinkall
Copy link
Collaborator

Why are these changes needed?

The new chromadb version has changed the error type of get_collection, thus caused issue #3551 . This PR fixes the issue by adding the new error type to the exception handling in create_collection method. We also updates related docs so that users can bypass the error when they're using the current version of AutoGen.

Related issue number

Closes #3551

Checks

@thinkall thinkall added this pull request to the merge queue Sep 23, 2024
Merged via the queue into main with commit 6aaa238 Sep 23, 2024
146 of 158 checks passed
@thinkall thinkall deleted the li/fix_#3551 branch September 23, 2024 19:24
@tonyliang
Copy link

For those who are late to the game and still facing this issue, I am able to bypass the issue with this combo:

chroma-hnswlib==0.7.6
chromadb==0.5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue]: ragproxyagent always return InvalidCollectionException: Collection autogen-docs does not exist.
4 participants