ModalityTokenCount interface

Represents token counting info for a single modality.

Signature:

export interface ModalityTokenCount 

Properties

Property Type Description
modality Modality The modality associated with this token count.
tokenCount number The number of tokens counted.

ModalityTokenCount.modality

The modality associated with this token count.

Signature:

modality: Modality;

ModalityTokenCount.tokenCount

The number of tokens counted.

Signature:

tokenCount: number;