Microsoft Azure · JSON Structure

Azure Openai Service Create Chat Completion Request Structure

Type: object Properties: 14
API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

CreateChatCompletionRequest is a JSON Structure definition published by Microsoft Azure, describing 14 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

messages temperature top_p n stream stop max_tokens presence_penalty frequency_penalty response_format seed tools tool_choice user

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "CreateChatCompletionRequest",
  "type": "object",
  "properties": {
    "messages": {
      "type": "array"
    },
    "temperature": {
      "type": "number"
    },
    "top_p": {
      "type": "number"
    },
    "n": {
      "type": "integer"
    },
    "stream": {
      "type": "boolean"
    },
    "stop": {
      "type": "string"
    },
    "max_tokens": {
      "type": "integer"
    },
    "presence_penalty": {
      "type": "number"
    },
    "frequency_penalty": {
      "type": "number"
    },
    "response_format": {
      "type": "object"
    },
    "seed": {
      "type": "integer"
    },
    "tools": {
      "type": "array"
    },
    "tool_choice": {
      "type": "string"
    },
    "user": {
      "type": "string"
    }
  }
}