Skip to content
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

Add support for Cohere Embed v3 Models #87

Closed
bilgeyucel opened this issue Dec 7, 2023 · 0 comments · Fixed by #89
Closed

Add support for Cohere Embed v3 Models #87

bilgeyucel opened this issue Dec 7, 2023 · 0 comments · Fixed by #89
Assignees
Labels
feature request Ideas to improve an integration

Comments

@bilgeyucel
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Cohere has a new type of embedding models: Embed v3. Let's add support for it for 2.0 pipelines
https://txt.cohere.com/introducing-embed-v3/
https://docs.cohere.com/reference/embed

Describe the solution you'd like
It seems like the only change we need to make in CohereEmbedder is to add the input_type parameter. See the documentation: https://docs.cohere.com/reference/embed

Describe alternatives you've considered
There's no other way of using these v3 models. When we pass the v3 model names, the CohereEmbedder (or cohere API, not quite sure which one) may not raise any error but the model fallbacks to a v2 model

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Ideas to improve an integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants