Mistral AI · Schema

ChatCompletionStreamResponse

Properties

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

JSON Schema

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