Open History to see the last commit
type EmbeddingModality = "text" | "image";
Defined in: packages/ai/src/types.ts:3233
Input modalities an embedding model can accept. Unlike
MediaPromptModality, 'text' is listed explicitly because
text-only embedding models are the common case and the modality list
drives compile-time narrowing of EmbeddingInputItem.