Documentation
¶
Overview ¶
Package usage defines token usage tracking.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Usage ¶
type Usage struct {
// Input is the number of prompt tokens.
Input int `json:"input"`
// Output is the number of completion tokens.
Output int `json:"output"`
}
Usage represents token counts for a completion.
Click to show internal directories.
Click to hide internal directories.