Skip to main content

Interface: IEmbedderConfig

Defined in: internal/embedder/types.ts:7

Configuration of the Embedder. Lands in IAIGatewayConfig.embedder.

Properties​

batchSize?​

optional batchSize?: number

Defined in: internal/embedder/types.ts:17

Texts per LLMClient.embed call; the batches go one after the other.

Default​

64

dimensions​

dimensions: number

Defined in: internal/embedder/types.ts:11

Vector length of that model, e.g. 1536. VectorStore needs it to create the index.


embeddingModelId​

embeddingModelId: string

Defined in: internal/embedder/types.ts:9

The one embedding model; must have caps.embeddings = true.