Skip to content

EmbedPart

EmbedPart = string | { image: ImageBuffer; } | { video: readonly ImageBuffer[]; } | { audio: Float32Array; }

Defined in: packages/runntime/src/zoo/tasks/multimodal/embedding.ts:37

One piece of an input: text, an image, a video as its frames, or an audio clip as mono samples at 16 kHz.