OpenAI Assistants API
The ai
CLI allows you to create, manage, and interact with OpenAI's Assistants API.
Prerequisites
Before you begin, you'll need to install the ai
CLI and set up Azure OpenAI.
Listing, creating, updating, and deleting assistants
See the persisted config from ai chat assistant create/update
Picking a new assistant
Clearing the assistant ID from the config
TODO: Finish this section on differences between chat completions and assistants.
Differences between chat completions and assistants
◦ stateless vs stateful
◦ customer controlled chat history vs threads
◦ automatic context window management
◦ advanced features: code interpreter, function calling, file search