OpenAI
此頁面由機器翻譯。查看原始英文文章

OpenAI API 模型是否了解目前的時事?

不同模型與其訓練資料涵蓋日期範圍的解析

更新日期:12 hours ago

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 模型具備最新知識:

  1. 在你的工作流程中整合 Responses API

  2. 在發出 API 呼叫時,啟用 網頁搜尋和/或檔案搜尋工具

  3. 模型會自動運用這些工具來提供準確、即時的資訊。

深入了解如何使用 Responses API 以及網頁與檔案搜尋

這篇文章有幫助嗎?