Documentation Index
Fetch the complete documentation index at: https://docs.apigo.ai/llms.txt
Use this file to discover all available pages before exploring further.
このセクションは、チャット、複数ターンの会話、エージェント、および構造化テキストの出力に使用します。
エンドポイントリスト
いつどれを使うか
- 従来のチャット補完クライアントには
chat.completionsを使用してください - テキスト、構造化された出力、および将来のマルチモーダル拡張のためのより統合されたインターフェイスが必要な場合は、
responsesを使用してください。
メモをリクエストする
Authorization: Bearer {API_KEY}で認証するchat.completionsはmessagesを中心にしていますresponsesはinput、instructions、response_formatを中心にしています。
回答メモ
chat.completionsは通常、choices[0].message.contentから読み取りますresponsesは通常、output_textまたはoutput[]から読み取ります。- ストリーミング クライアントは、SSE チャンクを段階的に処理する必要があります。
