OpenAI, the artificial intelligence research company, has recently made significant updates to its Assistants API. The new features include a faster and more accurate file search tool, vector stores, and a tool choice parameter.
Announced on April 17, the updated Assistants API now includes a file_search tool that can retrieve up to 10,000 files per assistant. This tool allows models to connect with developers’ data to help in the development of applications tailored to specific organizations or use cases. Additionally, the tool works seamlessly with the new vector store objects for automated file parsing, chunking, and embedding. With new token controls, tool-choice capabilities, and support for model configuration parameters, developers have more flexibility to customize their use cases.
Developers can now fine-tune models in the Assistants API, which also supports streaming. The Node and Python SDKs have been enhanced with several streaming and polling helpers.
The Assistants API beta, initially launched in November 2023, has been upgraded to a new version with this latest update: OpenAI-Beta: assistants=v2.
The Assistants API is specifically designed to assist developers in creating assistants for various software tasks. These assistants can call OpenAI models with specific instructions, access multiple tools simultaneously, work with persistent threads, and access files in various formats. A migration guide is available for developers looking to transition their tool usage to the latest version of the Assistants API.
Copyright © 2024 IDG Communications, Inc.