From the course: AI Trends

Unlock this course with a free trial

Join today to access over 23,100 courses taught by industry experts.

OpenAI API

OpenAI API

- For AI systems to be truly useful in a development setting, they have to be fully configurable and provide basic features like state management and dynamic controls. But when OpenAI first released their API, developers had to do all this manually. So when they built custom agents, they had to declare system assistant and user messages with every request and manage their state by storing each message response pair in some form of database, and then pass that to store data back into the API with every message. It was labor intensive and expensive and quite messy. In response to this, OpenAI has now introduced the Assistants API. This new API is the developer version of ChatGPT's Custom GPTs, and with it, you can create custom assistants with their own instructions, their own tools, and their own knowledge retrieval and spin up individual stateful chats under each assistant without having to store the exchange on your…

Contents