Unified.to · Schema

GenaiEmbedding

IntegrationsUnified API

Properties

Name Type Description
content object
dimension number
embeddings string
enconding_format string
id string
max_tokens number
model_id string
raw object
tokens_used number
type string
View JSON Schema on GitHub

JSON Schema

unified-to-genaiembedding-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GenaiEmbedding",
  "title": "GenaiEmbedding",
  "properties": {
    "content": {
      "$ref": "#/components/schemas/property_GenaiEmbedding_content"
    },
    "dimension": {
      "type": "number"
    },
    "embeddings": {
      "type": "string"
    },
    "enconding_format": {
      "enum": [
        "FLOAT",
        "UINT8",
        "INT8",
        "BINARY",
        "UBINARY",
        "BASE64"
      ],
      "type": "string",
      "x-speakeasy-unknown-values": "allow"
    },
    "id": {
      "type": "string"
    },
    "max_tokens": {
      "type": "number"
    },
    "model_id": {
      "type": "string"
    },
    "raw": {
      "additionalProperties": true,
      "type": "object"
    },
    "tokens_used": {
      "type": "number"
    },
    "type": {
      "type": "string"
    }
  },
  "type": "object"
}