Okapi Okapi

Cohere connectors body parameter removal on POST /v1/chat

Deprecated, no dateSubscribe to CohereShare

Cohere has deprecated the connectors body parameter on POST /v1/chat without specifying a shutdown date. Requests sending this parameter will eventually fail once the feature is fully removed. This change affects calls to POST /v1/chat that rely on managed connectors.


Calls it hits

  • POST /v1/chat
  • body parameter connectors

What to use instead of these calls

Pass documents or tools to Chat instead of managed connectors.

In Cohere's words

Deprecated Features and API Endpoints: * `/v1/connectors` (Managed connectors for RAG) * `/v1/chat` parameters: `connectors`, `search_queries_only`

Cohere, Announcement

Facts

API
Cohere api.cohere.ai
Kind
Parameter 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/chat, body parameter connectors 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

  1. command-lightModel retirement Stopped working
  2. command-rModel retirement Stopped working
  3. command-r-03-2024Model retirement Stopped working
  4. command-r-plusModel retirement Stopped working
  5. command-r-plus-04-2024Model retirement Stopped working
  6. c4ai-aya-expanse-8bModel retirement Stopped working
  7. c4ai-aya-vision-8bModel retirement Stopped working
  8. embed-english-light-v2.0Model retirement Stopped working
  9. embed-english-v2.0Model retirement Stopped working
  10. 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.

Add to GitHub

Get notifications

Subscribe to Cohere

Hear about each breaking change Cohere announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Cohere

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.