Microsoft Azure · JSON Structure

Azure Openai Service Chat Completion Message Structure

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

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

Properties

role content name tool_calls tool_call_id

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "ChatCompletionMessage",
  "type": "object",
  "properties": {
    "role": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "tool_calls": {
      "type": "array"
    },
    "tool_call_id": {
      "type": "string"
    }
  }
}