Microsoft Azure · Schema

CreateEmbeddingRequest

Request body for creating embeddings.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
input string Input text to embed, encoded as a string or array of strings.
user string A unique identifier representing your end-user.
input_type string The input type for the embedding request.
encoding_format string The format to return the embeddings in.
dimensions integer The number of dimensions the resulting output embeddings should have.
View JSON Schema on GitHub

JSON Schema

azure-openai-service-create-embedding-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CreateEmbeddingRequest",
  "type": "object",
  "description": "Request body for creating embeddings.",
  "properties": {
    "input": {
      "type": "string",
      "description": "Input text to embed, encoded as a string or array of strings."
    },
    "user": {
      "type": "string",
      "description": "A unique identifier representing your end-user."
    },
    "input_type": {
      "type": "string",
      "description": "The input type for the embedding request."
    },
    "encoding_format": {
      "type": "string",
      "description": "The format to return the embeddings in."
    },
    "dimensions": {
      "type": "integer",
      "description": "The number of dimensions the resulting output embeddings should have."
    }
  }
}