[KongchangAI]
ProductText Completions API

Text Completions

An early text completion interface offered by Anthropic that accepted a single prompt and returned a continuation; it has been removed and migrated to the Messages API.

Timeline (last 90 days)

Oct 18

The Anthropic Python SDK 1.0 removed the Text Completions interface.

Unverified50%
Oct 18

Anthropic has fully consolidated conversational capabilities into the Messages API, and the old text completion endpoint is no longer supported.

Unverified50%
Oct 18

The Text Completions interface accepts a single prompt and returns a continuation; the Messages API request body consists of a system prompt and a messages array, with each message containing a role and content.

Unverified50%
Oct 18

If the project makes heavy use of Text Completions or temperature, the migration cost is relatively high and you can wait for a more complete transition plan; if it only makes standard Messages API calls, the upgrade path is relatively smooth.

Unverified50%

All Facts (4)

Source Articles