ChromaDB issue in Vectorstores and Embedding

When i tried this code im getting a error. Any one faced similar issue or any any solution pls share.

Code tried:
vectordb = Chroma.from_documents(
documents=splits,
embedding = embedding,
persist_directory = persist_directory
)

Error : ValueError: You are using a deprecated configuration of Chroma. Please pip install chroma-migrate and run chroma-migrate to upgrade your configuration. See ✈️ Migration | Chroma for more information or join our discord at chroma for help!

I tried pip install chroma-migrate and run it aswell. After that im not able to proceed further.

2 Likes

I encountered this error with Chroma 0.4.0 that was released that day. Try using an earlier version.

1 Like

Hi, I’m also getting this error. Have you managed to resolve it? Thanks.

1 Like

Yes, you have to change to previous version.
!pip uninstall chromadb and !pip install chromadb==0.4.1

It worked for me!

3 Likes

thanks so much for this!!!

1 Like

Can someone also post a new format for new version…or one doesn’t exist yet?

1 Like

There 0.4.1 has the same problem. What is the correct version?

1 Like

==0.3.29
Works

2 Likes