Class ModalityTokenCount
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents token counting info for a single modality.
public class ModalityTokenCount
- Inheritance
-
ModalityTokenCount
- Inherited Members
- Extension Methods
Properties
Modality
The modality associated with this token count.
[JsonPropertyName("modality")]
public Modality Modality { get; set; }
Property Value
TokenCount
Number of tokens.
[JsonPropertyName("tokenCount")]
public int TokenCount { get; set; }