Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

EmbeddingModelInputModalitiesByName.md

14 lines550 Bytes

type EmbeddingModelInputModalitiesByName = Record<string, ReadonlyArray<EmbeddingModality>>;

Defined in: packages/ai/src/types.ts:2910

Per-model map from model name to the input modalities it accepts, used as an adapter type parameter (TModelInputModalitiesByName). Models absent from the map fall back to the unconstrained EmbeddingInputItem.