Interface ModalityTokenCount

Represents token counting info for a single modality.

interface ModalityTokenCount {
    modality?: MediaModality;
    tokenCount?: number;
}

Properties

modality?: MediaModality

The modality associated with this token count.

tokenCount?: number

Number of tokens.