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.

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

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

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

It worked for me!

thanks so much for this!!!

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

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

==0.3.29
Works