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)
`
New contributor