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 提供的內建搜尋工具,例如:
網頁搜尋:讓模型直接從網際網路存取最新資訊。
檔案搜尋:讓模型能從你的自訂檔案與資料庫擷取並使用資訊。
這些工具會在對話期間動態取得相關的最新資訊,實際上賦予模型即時感知能力。
---
如何啟用最新資訊存取
若要讓你的 API 模型具備最新知識:
在你的工作流程中整合 Responses API。
發出 API 呼叫時,啟用網頁搜尋和/或檔案搜尋工具。
模型會自動運用這些工具,提供準確且及時的資訊。
進一步了解使用 Responses API,以及網頁與檔案搜尋。
