BaseGeneration
The unique identifier of the generation.
The unique identifier of the prompt associated with the generation.
The provider of the generation.
The model used for the generation.
Any error message associated with the generation.
Settings used for the generation.
Variables used in the generation.
Tags associated with the generation.
Metadata associated with the generation.
Tools used in the generation.
The total number of tokens in the generation.
The number of input tokens in the generation.
The number of output tokens in the generation.
Time to first token in the generation.
Token throughput in seconds.
Duration of the generation.
CompletionGeneration
The prompt text for the generation.
The generated completion text.
The type of generation, which is set to GenerationType.COMPLETION.
ChatGeneration
The list of messages in the chat generation.
The completion message of the chat generation.
The type of generation, which is set to GenerationType.CHAT.