AIの応答 (Full)

AIの質問への応答

このリソースにはAPIの使用時に発生する可能性があるいくつかのバリエーションがあります。

Fullバリアントに含まれるフィールドは、fieldsパラメータをサポートするAPIエンドポイントによって返すことができます。たとえば、IDでファイルを取得するときに、fieldsリクエストパラメータをid,typeに設定すると、これらのフィールドのみがAPIレスポンスで返されます。

string
Public APIs are important because of key and important reasons.

LLMから提供された回答。

object array

LLMの回答で参照された部分の引用情報。

123

項目のID。

file

項目のタイプ。

次の値に固定: file

Public APIs are key drivers of innovation and growth.

回答が参照された部分の具体的な内容。

The importance of public APIs.pdf

項目の名前。

done

応答が終了した理由。

string (date-time)
2012-12-12T10:53:43-08:00

プロンプトに対する回答が作成された時点のISO日付形式のタイムスタンプ。

レスポンスの例

{
  "answer": "Public APIs are important because of key and important reasons.",
  "citations": [
    {
      "content": "Public APIs are key drivers of innovation and growth.",
      "id": "123",
      "type": "file",
      "name": "The importance of public APIs.pdf"
    }
  ],
  "completion_reason": "done",
  "created_at": "2012-12-12T10:53:43-08:00"
}