landgraf-dev / openai-delphi

OpenAI API client for Delphi and Lazarus/FPC. Use ChatGPT, DALL-E and other products from Pascal language.
MIT License
126 stars 40 forks source link

deprecated OpenAI models - FYI #13

Closed ksihota closed 6 months ago

ksihota commented 7 months ago

text-davinci-003 is deprecated so for anyone following the demo replace this with gpt-3.5-turbo-instruct https://platform.openai.com/docs/deprecations

This project is great once I figured out the basics. Thanks a lot for all your work.

wlandgraf commented 6 months ago

Is there something we need to change in the repo?

ksihota commented 6 months ago

I don't believe so. I was just following the demo and examples you gave and got the deprecated OpenAI model error. Once I changed it (based on the info in the link) everything worked great. Rather than using the console I was putting together a simple graphic interface. Your project worked great and it was really much simpler than I expected it to be. I just wanted to post it here so others who have trouble with some of these things like I do would be aware of the solution. I am working in Lazarus and I only program occasionally so I find some of the basic things quite challenging. This was surprisingly easy to deal with. Thanks again for all your work.

wlandgraf commented 6 months ago

Thank you!