/** * This file was auto-generated by Fern from our API Definition. */ import * as CortexAI from "../../../../index.js"; /** * @example * { * tenant_id: "tenant_1234", * embeddings: [{ * source_id: "", * embeddings: [{ * chunk_id: "", * embedding: [1.1] * }, { * chunk_id: "", * embedding: [1.1] * }] * }, { * source_id: "", * embeddings: [{ * chunk_id: "", * embedding: [1.1] * }, { * chunk_id: "", * embedding: [1.1] * }] * }] * } */ export interface BodyInsertRawEmbeddingsEndpointEmbeddingsInsertRawEmbeddingsPost { /** Unique identifier for the tenant/organization */ tenant_id: string; /** Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used. */ sub_tenant_id?: string; /** List of raw embedding documents to insert */ embeddings: CortexAI.RawEmbeddingDocument[]; /** If True, update existing embeddings; if False, insert only */ upsert?: boolean; }