Paul Krill
Editor at Large

OpenAI’s Assistants API gets a boost

news
Apr 17, 20242 mins

The OpenAI Assistants API, used to build AI assistants, has been updated with faster and expanded file search, vector stores, and a new tool choice parameter.

Speed, fast, faster. Hand turning a dial with a rocket ship icon..
Credit: Olivier Le Moal/Shutterstock

OpenAI, the artificial intelligence research company, has updated its Assistants API with a faster, more accurate file search tool, vector stores, and a tool choice parameter.

OpenAI announced the Assistants API update on April 17. The new file_search tool can retrieve as many as 10,000 files per assistant. It connects models with developers’ data to assist in building applications relevant to an organization or use case. The tool works with the new vector store objects for automated file parsing, chunking, and embedding. New token controls, tool-choice capabilities, and added support for model configuration parameters offer greater flexibility to individual use cases.

Developers can fine-tune models in the Assistants API, which also now supports streaming. Several streaming and polling helpers have been added to the Node and Python SDKs.

The Assistants API beta, which launched in November 2023, has been moved to a new version with this update: OpenAI-Beta: assistants=v2.

The Assistants API is designed to help developers build assistants for a variety of software tasks. Assistants can call OpenAI models with specific instructions, access multiple tools in parallel, access persistent threads, and access files in several formats. A migration guide is available to migrate tool usage to the latest version of the Assistants API.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author