Open yusuf8834 opened 1 month ago
@yusuf8834, This appears to be an issue with the EF. I'll have a look.
Do you mind tell me which version of cohere
lib are you using - pip list | grep cohere
cohere 5.5.3
thanks
I was able to recreate this error. Working on a fix. It needs a processing of the output from the coehere embed function
@yusuf8834, indeed it does. Cohere have updated how they generate their client, and now I see that there are two possible outputs for embeddings, one with floats and another with types. The latter one doesn't comply with work well with the Cohere EF:
We'll fix it shortly.
@tazarov there is a change in cohere response structure from major version 5.x.x. Will chromadb provide support for older versions of cohere <= 4.x
@anantguptadbl, fixed with backward compatibility.
@anantguptadbl, fixed with backward compatibility.
Thank you for the fix. how can use this version without waiting for the next version release of chromadb
@yusuf8834, you can run:
pip install git+https://github.com/chroma-core/chroma.git@main
What happened?
Hi
my sample code and output are below. I get error as shown in the output for cohere embeddings, it works normally for sentence transformers.
i will appreciate any help.
thank you.
Versions
chroma ver. 5 python 3.11 / 3.10 win11
Relevant log output