Support the newly released chat API (released 1st of March 2023): gpt-3.5-turbo. This model is better than the text models according to Greg Brockman. Also, gpt-3.5-turbo is 10 times cheaper than text-davinci-003 per token. Due to the increased complexity in supporting text models and chat models and me having only so much time in the day, this PR drops support for text models such as text-davinci-003. To support those again, tests should be added to the repository which mock both the OpenAI API and stdout (see https://github.com/kkawakam/rustyline/issues/652#issuecomment-1421314307 for a stdout mock example).
Support the newly released chat API (released 1st of March 2023):
gpt-3.5-turbo
. This model is better than the text models according to Greg Brockman. Also,gpt-3.5-turbo
is 10 times cheaper thantext-davinci-003
per token. Due to the increased complexity in supporting text models and chat models and me having only so much time in the day, this PR drops support for text models such astext-davinci-003
. To support those again, tests should be added to the repository which mock both the OpenAI API and stdout (see https://github.com/kkawakam/rustyline/issues/652#issuecomment-1421314307 for a stdout mock example).This PR is partially based on #21.