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

OpenAI API 模型具備當前事件的知識嗎?

不同模型及其訓練資料日期範圍的說明

更新日期:6 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 提供的內建搜尋工具,例如:

  • Web Search:讓模型可直接從互聯網存取最新資訊。

  • File Search:讓模型能從你的自訂檔案和資料庫中擷取及使用資訊。

這些工具會在對話期間動態擷取相關的最新資訊,實際上令模型具備即時感知能力。


如何啟用最新資訊存取

要讓你的 API 模型具備最新知識:

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

  2. 進行 API 呼叫時,啟用Web Search 及/或 File Search 工具

  3. 模型會自動使用這些工具,以提供準確且及時的資訊。

進一步了解如何使用 Responses APIWeb 和 File Search

這篇文章對你有幫助嗎?