Box Developer Documentation

AI response

This resource is used by enpoints in the version 2024.0. For more details, see Box API versioning.

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.

The information on the models and processors used in the request.

The models used for the request.

azure__openai__text_embedding_ada_002

The name of the model used for the request.

azure

The provider that owns the model used for the request.

embedding

The supported purpose utilized by the model used for the request.

basic_text

The processor used for the request.

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

The answer provided by the LLM.

done

The reason the response finishes.

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

The ISO date formatted timestamp of when the answer to the prompt was created.

Response Example

{
  "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"
}