This pull request updates the openai package to version 1.2.4, which includes bug fixes and performance improvements. The get_completion function has been updated to use the new OpenAI class instead of the deprecated openai.ChatCompletion method. No other changes have been made.
This pull request updates the openai package to version 1.2.4, which includes bug fixes and performance improvements. The
get_completion
function has been updated to use the newOpenAI
class instead of the deprecatedopenai.ChatCompletion
method. No other changes have been made.