OpenAI · JSON Structure

Openai Embeddings Create Embedding Request Structure

Type: object Properties: 5
AIArtificial IntelligenceLarge Language ModelsT1

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

Properties

model input encoding_format dimensions user

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "CreateEmbeddingRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string"
    },
    "input": {
      "type": "string"
    },
    "encoding_format": {
      "type": "string"
    },
    "dimensions": {
      "type": "integer"
    },
    "user": {
      "type": "string"
    }
  }
}