Exploring new Responses API and the new tools from OpenAI
AI Summary
Summary of OpenAI’s New Responses API and Tools
- Introduction
- OpenAI released a new Responses API and enhancements like a web search tool, file search tool, and an agent SDK.
- The SDK is not live yet.
- Documentation Changes
- The Playground has been updated to reflect new features.
- The Assistance API will eventually be deprecated; refactor to use the new Responses API.
- Responses API
- The Responses API supersedes the chat completions API.
- The
messages
parameter is now calledinput
.- Automatic management of conversation state is incorporated.
- Using Built-in Tools
- You can pass parameters for web and file search.
- Access the Stack Overflow integration via built-in tools documentation.
- Playground Features
- A user can configure country, time zone, search context size, etc.
- Web searches can be performed utilizing the API.
- Only GPT-4 is supported for web search functionalities.
- Testing the API
- Experiments with the API showed its ability to handle conversation history automatically.
- Includes both automated and manual conversation management methods.
- Final Note
- The introduction of the new API may require learning and adaptation.
- Users can download example codes and documentation updates from the Patreon post.