ChatCompletionRequest

A2AAI GatewayAPI CenterAPI GatewayAPI ManagementEnterpriseMCPMicrosoft Azure

Properties

Name Type Description
messages array
max_tokens integer
temperature number
View JSON Schema on GitHub

JSON Schema

microsoft-azure-api-management-chatcompletionrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ChatCompletionRequest",
  "title": "ChatCompletionRequest",
  "type": "object",
  "properties": {
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "example": "user"
          },
          "content": {
            "type": "string",
            "example": "What is Azure API Management?"
          }
        }
      }
    },
    "max_tokens": {
      "type": "integer",
      "example": 256
    },
    "temperature": {
      "type": "number",
      "example": 0.7
    }
  }
}