Skip to content

Usage

UsageSchema

Bases: SchemaBase, DatabaseSchemaMixin

Pydantic model equivalent of the UsageModel.

completion_tokens instance-attribute

conversation_id instance-attribute

prompt_tokens instance-attribute

total_cost instance-attribute

total_tokens instance-attribute

__add__(other)

empty(conversation_id) classmethod