Overview
The Assistants API allows you to build AI assistants within your own applications. An Assistant has instructions and can leverage models, tools, and files to respond to user queries. The Assistants API currently supports three types of tools: Code Interpreter, File Search, and Function calling. You can explore the capabilities of the Assistants API using the Assistants playground or by building a step-by-step integration outlined in our Assistants API quickstart.How Assistants work
The Assistants API is designed to help developers build powerful AI assistants capable of performing a variety of tasks.The Assistants API is in beta and we are actively working on adding more functionality. Share your feedback in our Developer Forum!
1
Assistants can call OpenAI’s models with specific instructions to tune their personality and capabilities.
2
Assistants can access multiple tools in parallel. These can be both OpenAI built-in tools — like code_interpreter and file_search — or tools you build / host (via function calling).
3
Assistants can access persistent Threads. Threads simplify AI application development by storing message history and truncating it when the conversation gets too long for the model’s context length. You create a Thread once, and simply append Messages to it as your users reply.
4
Assistants can access files in several formats — either as part of their creation or as part of Threads between Assistants and users. When using tools, Assistants can also create files (e.g., images, spreadsheets, etc) and cite files they reference in the Messages they create.
Objects
