跳到正文
原文
OpenAI Developers·· 2025-08-03AI 評分60

OpenAI Function calling 指南:API 工具呼叫流程與實作方法

Function calling guide

AI 導讀

OpenAI 的 Function calling 指南説明,如何透過 API 讓模型呼叫應用程式提供的函數與自訂工具,以存取外部資料或執行操作。內容涵蓋 Responses API 與 Chat Completions 的工具呼叫流程、JSON Schema 定義、strict mode、工具選擇和並行呼叫。

來源:OpenAI Developers · platform.openai.com