This repository mainly follows examples and ideas from the OpenAI Dashboard and the Playground.
- Most markdown files were generated with the help of LLMs.
- This project is being updated to align with changes introduced in newer versions of the OpenAI Python SDK. These updates ensure compatibility with the latest API endpoints, take advantage of new features, and follow best practices recommended by OpenAI.
While following the OpenAI Python migration guide, I encountered an issue:
- The
openai migrate
command didn't work as expected and pointed to an incorrect URL.
-
Install Grit by running:
curl -fsSL https://docs.grit.io/install | bash
-
Use Grit to apply the OpenAI migration:
source $HOME/.grit/bin/env grit apply openai
These steps successfully resolved the migration issue.