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以及網頁與檔案搜尋。
