Home  >  Article  >  Technology peripherals  >  OpenAI releases new Assistants API, allowing developers to easily customize AI assistants for their applications

OpenAI releases new Assistants API, allowing developers to easily customize AI assistants for their applications

WBOY
WBOYforward
2023-11-07 11:25:03833browse

OpenAI发布新的Assistants API,允许开发者轻松为其应用程序定制AI助手

According to news from this site on November 7, at today’s OpenAI’s first developer conference, OpenAI launched the Assistants API, a “purpose-built AI tool” that can be used "Extra knowledge" helps developers build AI assistants into their own applications.

OpenAI发布新的Assistants API,允许开发者轻松为其应用程序定制AI助手

OpenAI发布新的Assistants API,允许开发者轻松为其应用程序定制AI助手

OpenAI said that the Assistants API provides three functions, including code interpreter, retrieval and function calling, to assist users in handling the heavy lifting. What it does

  • The "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 run code iteratively to solve challenging 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 announced that the Assistants API is designed to enable flexibility, and its scope of applications includes "natural language-based data analysis applications", "code assistants", "artificial intelligence-based vacation planning" "Assistants", "DJ", "Smart Canvas", etc.

It is reported that a key update introduced by Assistants API is to provide persistent and infinitely long threads (Threading), allowing developers to hand over thread state management Give it to OpenAI and solve the problem of context window length constraints.

OpenAI发布新的Assistants API,允许开发者轻松为其应用程序定制AI助手

OpenAI developer experience director Romain demonstrated the Assistants API live. He claimed that developers only need to enter the name and introduction of the chat assistant, and select the model to be used. , then select the required tool to automatically generate the relevant AI assistant.

OpenAI发布新的Assistants API,允许开发者轻松为其应用程序定制AI助手

OpenAI发布新的Assistants API,允许开发者轻松为其应用程序定制AI助手

OpenAI says that, like the rest of the platform, data and files uploaded to the OpenAI API are never used to train its models , developers can delete data as they see fit.

This site found that OpenAI also claimed that the Assistants API will be open to beta from today, and users can experience it on the Assistants Playground homepage without writing any code.

The above is the detailed content of OpenAI releases new Assistants API, allowing developers to easily customize AI assistants for their applications. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:51cto.com. If there is any infringement, please contact admin@php.cn delete