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

feat: New Provider - Cohere #162

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: New Provider - Cohere #162

wants to merge 4 commits into from

Conversation

nea
Copy link

@nea nea commented Feb 1, 2025

Ahoy there

First of all thanks for this awesome package.

I would like to propose the addition of Cohere as provider, which I think provides good service and excellent models.

The given implementation suggests basic embeddings, text and structured handling, similar to Mistral as both share similar APIs.
Some specialties such as response_format for structured output have been added.
The implementation follows the APIv2 spec, as it is standard for about 6 months now and the differences to v1 are bigger.
Tests have been added in all conscience.

I hope this PR fits the package and standards. Let me know if you look for changes.

Cheers

@nea nea changed the title feat: Cohere v2 feat: New Provider - Cohere Feb 2, 2025
Copy link

kinsta bot commented Feb 2, 2025

Preview deployments for prism ⚡️

Status Branch preview Commit preview
✅ Ready Visit preview Visit preview

Commit: 53b4268e72e6be35a41de2d6713fb9c457337f46

Deployment ID: eb57111b-afb8-42b9-a90f-a37968ad2355

Static site name: prism-97nz9

@nea
Copy link
Author

nea commented Feb 26, 2025

Hey there

If there is something I should change or add to have this added to Prims, please let me know :)

Thanks and Best

Copy link

kinsta bot commented Mar 8, 2025

Preview deployments for prism ⚡️

Status Branch preview Commit preview
✅ Ready Visit preview Visit preview

Commit: f36c05528f762738126964d344a07887e0d18943

Deployment ID: ca205957-1f4c-4fd2-9b6d-9b9cc3676ea3

Static site name: prism-97nz9

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

Successfully merging this pull request may close these issues.

1 participant