I am facing this issue when I was ingesting the text & image embeddings in the same collection of chroma DB.
tried this code snippet but got the same exception
vectorstore = Chroma( collection_name=collection_name, embedding_function=OpenCLIPEmbeddings(), client=chroma_client)
Then I tried again with dimension parameter in openclipembedding() function
As
vectorstore = Chroma( collection_name=collection_name, embedding_function=OpenCLIPEmbeddings(dimension=1536), client=chroma_client)
`
Akash Shukla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.