Okapi Okapi

OpenAI text-search-babbage-query-001 model retirement

Stopped workingSubscribe to OpenAIShare

Calls to the model text-search-babbage-query-001 on OpenAI stopped working on January 4, 2024.


The error you get

What OpenAI answers a call to text-search-babbage-query-001 once the model is gone, as recorded from real responses:

HTTP 404
{"error":{"message":"The model `text-search-babbage-query-001` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations","type":"invalid_request_error","param":null,"code":"model_not_found"}}

What to use instead of text-search-babbage-query-001

Move to text-embedding-3-small, recommended by OpenAI.

In OpenAI's words

Shutdown date: 2024-01-04; Deprecated model: text-search-babbage-query-001; Deprecated model price: $5.00 / 1M tokens; Recommended replacement: text-embedding-3-small

OpenAI, Deprecations page

Facts

API
OpenAI api.openai.com
Model
text-search-babbage-query-001
Kind
Model retirement
Takes effect
January 4, 2024
Calls after that day
Fail
Source
Deprecations page
Last updated
Verified
, against OpenAI's own pages

Questions

When does text-search-babbage-query-001 shut down?

Calls to the model text-search-babbage-query-001 on OpenAI stopped working on January 4, 2024.

What happens to calls after January 4, 2024?

They have failed since January 4, 2024.

What error does text-search-babbage-query-001 return once it is shut down?

OpenAI answers HTTP 404: "The model `text-search-babbage-query-001` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations". Send another model to fix it.

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 OpenAI 10

  1. adaModel retirement Stopped working
  2. babbageModel retirement Stopped working
  3. code-davinci-edit-001Model retirement Stopped working
  4. code-search-ada-code-001Model retirement Stopped working
  5. code-search-ada-text-001Model retirement Stopped working
  6. code-search-babbage-code-001Model retirement Stopped working
  7. code-search-babbage-text-001Model retirement Stopped working
  8. curieModel retirement Stopped working
  9. davinciModel retirement Stopped working
  10. text-ada-001Model retirement Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to OpenAI

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

1What to follow

Provider
  • OpenAI

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.