Okapi Okapi

Cohere search_queries_only body parameter removal on POST /v1/chat

Deprecated, no dateSubscribe to CohereShare

Cohere has deprecated the body parameter search_queries_only on the POST /v1/chat endpoint without a shutdown date. Requests that continue sending this parameter will eventually fail once it is fully removed.


Calls it hits

  • POST /v1/chat
  • body parameter search_queries_only

What to use instead of these calls

Use the v2 Chat API with tools to generate search queries.

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 search_queries_only 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.