メインコンテンツへスキップ
APIバージョン 2024.0 AIの質問への応答。
このリソースにはAPIの使用時に発生する可能性があるいくつかのバリエーションがあります。Fullバリアントに含まれるフィールドは、fieldsパラメータをサポートするAPIエンドポイントによって返すことができます。たとえば、IDでファイルを取得するときに、fieldsリクエストパラメータをid,typeに設定すると、これらのフィールドのみがAPIレスポンスで返されます。
ai_agent_info
object
リクエストで使用されるモデルおよびプロセッサに関する情報。
answer
string
Public APIs are important because of key and important reasons.LLMから提供された回答。
citations
object[]
LLMの回答で参照された部分の引用情報。
completion_reason
string
done応答が終了した理由。
created_at
string(date-time)
2012-12-12T10:53:43-08:00プロンプトに対する回答が作成された時点のISO日付形式のタイムスタンプ。
{
  "ai_agent_info": {
    "models": [
      {
        "name": "azure__openai__text_embedding_ada_002",
        "provider": "azure",
        "supported_purpose": "embedding"
      }
    ],
    "processor": "basic_text"
  },
  "answer": "Public APIs are important because of key and important reasons.",
  "citations": [
    {
      "content": "Public APIs are key drivers of innovation and growth.",
      "id": "123",
      "name": "The importance of public APIs.pdf",
      "type": "file"
    }
  ],
  "completion_reason": "done",
  "created_at": "2012-12-12T10:53:43-08:00"
}