-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError due to class name typo in encoders/cohere.py (easy fix) #422
Comments
Seems to be an issue with the new Cohere 5.9.4. It works for me with cohere==5.9.2. |
I had a similar issue see #425 Can confirm that downgrading to cohere==5.9.2 does seem to solve the problem .. but I imagine neither this or the 'sed' solution described above is a permanent fix. |
we are reviewing a fix raised in #430 and will have this resolved asap |
Fixed in #430 #431 and new release created with the changes ( |
we noticed a bug, yanking release |
There is a typo in a class name that causes an ImportError on running
import semantic_router
.Can be fixed by replacing
EmbedResponse_EmbeddingsByType
with the correct nameEmbeddingsByTypeEmbedResponse
in the filesemantic_router/encoders/cohere.py
.Envs with error reproduced:
To generate the error
To fix the error
The text was updated successfully, but these errors were encountered: