At OpenAI’s first developer conference, OpenAI launched the Assistants API. This is a purpose-built AI tool that leverages additional knowledge to help developers build AI assistants in their applications
According to OpenAI, the Assistants API provides three functions, namely "code interpreter", "retrieval" and "function call", to assist users in handling those "heavy work"
- "Code Interpreter" allows developers to write and run Python code in a sandbox execution environment, generate graphical charts, and process files with different data and formats, and allows AI assistants to iteratively run code to solve challenging problems code and math problems, etc.
- Retrieval enhances the assistant with knowledge outside the model, such as proprietary domain data, product information, or user-provided documentation.
- Function Call enables the assistant to call a developer-defined function and incorporate the function response into its message.
OpenAI says the Assistants API is designed to enable flexibility, with use cases ranging from "natural language-based data analysis applications", "code assistants", "AI-based vacation planners", "DJs", "smart canvases" "wait.
It is reported that a key update introduced by the Assistants API is to provide persistent and infinitely long threads (Threading), allowing developers to hand over thread state management to OpenAI and solve the problem of context window length constraints.
Romain, Director of Developer Experience at OpenAI, demonstrated the Assistants API onsite. He said that developers only need to enter the name and introduction of the chat assistant, then select the model to be used, and then select the required tools to automatically generate the relevant AI assistant
OpenAI says that data and files uploaded to the OpenAI API will never be used to train its models, and developers can delete the data when they see fit
According to IT House reports, OpenAI announced that its assistant API has launched a beta version, and users can experience it on the assistant playground homepage without writing any code
The above is the detailed content of OpenAI releases Assistants API to provide one-click customized AI assistants for applications. For more information, please follow other related articles on the PHP Chinese website!