Skip to main content
API version 2024.0 AI response.
This resource has a few variations that can be encountered when using the API.The fields that are part of the standard variant are generally returned when the resource is requested via its own API endpoints. For example, when retrieving a file by ID, it will return these fields unless the fields parameter has been specified.
ai_agent_info
object
The information on the models and processors used in the request.
answer
string
example: Public APIs are important because of key and important reasons.The answer provided by the LLM.
completion_reason
string
example: doneThe reason the response finishes.
created_at
string(date-time)
example: 2012-12-12T10:53:43-08:00The ISO date formatted timestamp of when the answer to the prompt was created.
{
  "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.",
  "completion_reason": "done",
  "created_at": "2012-12-12T10:53:43-08:00"
}