Open piyushyadav0191 opened 22 hours ago
I'm also getting Same error
vectorstore = Chroma.from_texts(to_vectorize, RagSamples.embedding_function, metadatas=examples)
I have been using this code for over 10 days, and it works fine. However, today it suddenly started giving me the following error:
ValueError: Could not connect to tenant default_tenant. Are you sure it exists?
This issue has appeared unexpectedly, and I haven’t changed the configuration.
Yes, It worked 2 days ago but not working since yesterday
If you're encountering the error, you might want to try the following solution:
import chromadb
chromadb.api.client.SharedSystemClient.clear_system_cache()
You can use this after each request. For me, this worked and resolved the issue.
Okay, will try
Thanks it worked
import chromadb.api
chromadb.api.client.SharedSystemClient.clear_system_cache()
It doesn't work for me, though this error only occurs when I deploy the app and database with K8S. Also, the exception is raised at the beginning of the app when instantiating a HttpClient
object
@aymenkrifa can you provide more details like how's your code
Reopened the issue because this error occurs on production even clear_system_cache enabled
URL
https://python.langchain.com/v0.2/docs/integrations/vectorstores/chroma/
Checklist
Issue with current documentation:
I followed proper documentation for langchain_chroma but still getting this error -> ValueError: Could not connect to tenant default_tenant. Are you sure it exists?
This is my small code -
Idea or request for content:
No response