openai-cookbook/transition_guides_for_deprecated_API_endpoints
2023-02-13 16:59:22 -08:00
..
answers_functionality_example.py Initial commit 2022-06-03 12:56:03 -07:00
classification_functionality_example.py Nit: Change text in CLF cookbook 2022-10-29 01:56:06 +07:00
README.md fixes broken classification link 2022-09-30 23:12:43 -07:00
search_functionality_example.py removes deprecated Search function from deprecation code example (#130) 2023-02-13 16:59:22 -08:00

Deprecation of Answers, Classification, and Search

In 2021, OpenAI released specialized endpoints in beta for Answers, Classification, and Search.

While these specialized endpoints were convenient, they had two drawbacks:

  1. These specialized endpoints were eclipsed by techniques that achieved better results.
  2. These specialized endpoints were more difficult to customize and optimize for individual use cases.

As a result, the Answers, Classifications, and Search endpoints are being deprecated.

Timeline of deprecation

For those who have not used these endpoints, nothing will change except that access will no longer be available.

For existing users of these endpoints, access will continue until December 3, 2022. Before that date, we strongly encourage developers to switch over to newer techniques which produce better results.

How to transition

We've written guides and code examples for transitioning from the deprecated API endpoints to better methods.

Answers

Guide: How to transition off the Answers endpoint

Classification

Guide: How to transition off the Classifications endpoint

Guide: How to transition off the Search endpoint