Hugging Face · Schema

ChatCompletionResponse

Properties

Name Type Description
id string Unique completion identifier
object string
created integer Unix timestamp
model string Model used
system_fingerprint string
choices array
View JSON Schema on GitHub

JSON Schema

hugging-face-inference-providers-chat-completion-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ChatCompletionResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique completion identifier"
    },
    "object": {
      "type": "string"
    },
    "created": {
      "type": "integer",
      "description": "Unix timestamp"
    },
    "model": {
      "type": "string",
      "description": "Model used"
    },
    "system_fingerprint": {
      "type": "string"
    },
    "choices": {
      "type": "array"
    }
  }
}