ModalityTokenCount

class ModalityTokenCount


Represents token counting info for a single modality.

Summary

Public functions

operator ContentModality
operator Int

Public properties

ContentModality

The modality associated with this token count.

Int

The number of tokens counted.

Public functions

component1

operator fun component1(): ContentModality

component2

operator fun component2(): Int

Public properties

modality

val modalityContentModality

The modality associated with this token count.

tokenCount

val tokenCountInt

The number of tokens counted.