{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-embedding-bucket-request-schema.json",
  "title": "EmbeddingBucketRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-embeddings-api-openapi.yml#/components/schemas/EmbeddingBucketRequest",
  "properties": {
    "bucket_name": {
      "title": "Bucket Name",
      "type": "string"
    },
    "document_chunk_overlap_size": {
      "default": 512,
      "title": "Document Chunk Overlap Size",
      "type": "integer"
    },
    "document_chunk_size": {
      "default": 1024,
      "title": "Document Chunk Size",
      "type": "integer"
    },
    "embedding_model": {
      "allOf": [
        {
          "$ref": "#/$defs/SupportedEmbeddingModels"
        }
      ],
      "default": "thenlper/gte-large"
    },
    "loader": {
      "allOf": [
        {
          "$ref": "#/$defs/SupportedEmbeddingLoaders"
        }
      ],
      "default": "default"
    }
  },
  "required": [
    "bucket_name"
  ],
  "type": "object",
  "$defs": {
    "SupportedEmbeddingLoaders": {
      "description": "Supported types of custom document loaders for embeddings.",
      "enum": [
        "default",
        "intercom"
      ],
      "title": "SupportedEmbeddingLoaders",
      "type": "string"
    },
    "SupportedEmbeddingModels": {
      "description": "Supported models to vectorize and embed documents.",
      "enum": [
        "thenlper/gte-large",
        "intfloat/multilingual-e5-large"
      ],
      "title": "SupportedEmbeddingModels",
      "type": "string"
    }
  }
}