Open History to see the last commit
function countEmbeddingInputModalities(input): object;
Defined in: packages/ai/src/utilities/embedding-input.ts:73
Count text-only and image-carrying items for observability events. Never exposes input content.
Parameters#
input#
Returns#
object
imageInputCount#
imageInputCount: number;
textInputCount#
textInputCount: number;