Hugging Face · JSON Structure

Hugging Face Text Generation Inference Completion Stream Response Structure

Type: object Properties: 5

CompletionStreamResponse is a JSON Structure definition published by Hugging Face, describing 5 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

id object created model choices

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "CompletionStreamResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "object": {
      "type": "string"
    },
    "created": {
      "type": "integer"
    },
    "model": {
      "type": "string"
    },
    "choices": {
      "type": "array"
    }
  }
}