Update OpenAI library to latest version and refactor code #15
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
The current code uses
openai==0.28
, which has outdated method structures compared toopenai==1.0.0
or newer. Updating the OpenAI library to the latest version would improve compatibility and security. However, this update requires restructuring existing function calls and handling potential breaking changes.The text was updated successfully, but these errors were encountered: