Cohere
POST /v1/generate endpoint removal
Deprecated, no dateSubscribe to CohereShare
Cohere has deprecated the POST /v1/generate endpoint without a shutdown date. This change affects requests sent to this legacy generative route, and calls will eventually fail. Cohere lists the route as deprecated on api.cohere.ai.
Calls it hits
POST /v1/generate
What to use instead of these calls
Use the Chat endpoint (/v2/chat) instead.
In Cohere's words
`/v1/generate` (Legacy generative endpoint)
Facts
- API
- Cohere
api.cohere.ai - Kind
- Endpoint removal
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Cohere's own pages
Questions
When does this change take effect?
Cohere deprecated POST /v1/generate without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: Cohere has not given a shutdown date yet.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Cohere 10
-
command-lightModel retirement Stopped working -
command-rModel retirement Stopped working -
command-r-03-2024Model retirement Stopped working -
command-r-plusModel retirement Stopped working -
command-r-plus-04-2024Model retirement Stopped working -
c4ai-aya-expanse-8bModel retirement Stopped working -
c4ai-aya-vision-8bModel retirement Stopped working -
embed-english-light-v2.0Model retirement Stopped working -
embed-english-v2.0Model retirement Stopped working -
embed-multilingual-v2.0Model retirement Stopped working
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.