Skip to content

Usage

Structure Class

Usage dataclass

Bases: _SerdeShape

Contains information of the usage of the foundation model.

Attributes

input_tokens class-attribute instance-attribute
input_tokens: int | None = ...

Contains information about the input tokens from the foundation model usage.

output_tokens class-attribute instance-attribute
output_tokens: int | None = ...

Contains information about the output tokens from the foundation model usage.