Microsoft Azure · JSON Structure

Azure Openai Service Create Completion Request Structure

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

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

Properties

prompt max_tokens temperature top_p n stream stop presence_penalty frequency_penalty user

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

JSON Structure

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