'The model `text-ada-001` has been deprecated

I can demonstrate, and already demonstrated, by example.

Here’s a link to a completions call using -instruct: (you can also expand with the top right button)

At the end of the same thread is similar example of chat completions.

completions (if you want to try):

  • different method in openai library, different endpoint
  • prompt vs messages
  • different parsing .text vs .message.content
  • the AI will act quite different to bare text, finishing your sentence for you.
2 Likes