As of May 21 2025, we’ve added new built-in tools to the Responses API—remote MCP servers, Image Generation, Code Interpreter, and an upgraded File Search—along with background mode and encrypted content, so you can build agents that pull richer context and run more reliably. For details, see our Responses API docs.
OpenAI API 模型对当前事件的了解程度取决于具体模型。我们的模型概览页面包含每个模型知识截止点的详细说明。
为模型提供最新信息
要弥合模型训练截止点与当前事件之间的差距,你可以使用 OpenAI 的Responses API中提供的内置搜索工具,例如:
Web Search:让模型可以直接从互联网获取最新信息。
File Search:使模型能够从你的自定义文件和数据库中检索并使用信息。
这些工具会在对话过程中动态获取相关的最新信息,从而有效让模型具备实时感知能力。
如何启用最新信息访问
要让你的 API 模型具备最新知识:
在你的工作流程中集成 Responses API。
在发起 API 调用时,启用Web Search 和/或 File Search 工具。
模型会自动使用这些工具来提供准确、及时的信息。
