Mistral AI · Schema

AgentCompletionStreamResponse

Properties

Name Type Description
id string
object string
created integer
model string
choices array
View JSON Schema on GitHub

JSON Schema

mistral-agentcompletionstreamresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AgentCompletionStreamResponse",
  "title": "AgentCompletionStreamResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "object": {
      "type": "string",
      "enum": [
        "chat.completion.chunk"
      ]
    },
    "created": {
      "type": "integer"
    },
    "model": {
      "type": "string"
    },
    "choices": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer"
          },
          "delta": {
            "$ref": "#/components/schemas/Message"
          },
          "finish_reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  }
}