Mistral AI · Schema

ChatCompletionResponse

AgentsArtificial IntelligenceBatch ProcessingChatEmbeddingsFine-TuningLarge Language ModelsOCR

Properties

Name Type Description
id string A unique identifier for the chat completion.
object string The object type, always chat.completion.
created integer The Unix timestamp in seconds of when the completion was created.
model string The model used for the chat completion.
choices array A list of chat completion choices.
usage object
View JSON Schema on GitHub

JSON Schema

mistral-ai-chatcompletionresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ChatCompletionResponse",
  "title": "ChatCompletionResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "A unique identifier for the chat completion."
    },
    "object": {
      "type": "string",
      "description": "The object type, always chat.completion.",
      "enum": [
        "chat.completion"
      ]
    },
    "created": {
      "type": "integer",
      "description": "The Unix timestamp in seconds of when the completion was created."
    },
    "model": {
      "type": "string",
      "description": "The model used for the chat completion."
    },
    "choices": {
      "type": "array",
      "description": "A list of chat completion choices.",
      "items": {
        "$ref": "#/components/schemas/ChatCompletionChoice"
      }
    },
    "usage": {
      "$ref": "#/components/schemas/Usage"
    }
  }
}