Microsoft Azure · Schema

ChatCompletionChoice

A chat completion choice.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
index integer The index of the choice in the list.
finish_reason string The reason the model stopped generating tokens.
View JSON Schema on GitHub

JSON Schema

azure-openai-service-chat-completion-choice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ChatCompletionChoice",
  "type": "object",
  "description": "A chat completion choice.",
  "properties": {
    "index": {
      "type": "integer",
      "description": "The index of the choice in the list."
    },
    "finish_reason": {
      "type": "string",
      "description": "The reason the model stopped generating tokens."
    }
  }
}