struct

Polar::Models::LLMMetadata

Inherits JSON::Serializable < Struct < Value < Object

Model representing a LLMMetadata

This struct is auto-generated from the Polar.sh OpenAPI specification. It uses JSON::Serializable for automatic JSON parsing and serialization.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cached_input_tokens

The number of LLM cached tokens that were used for the event.

Source
input_tokens

The number of LLM input tokens used for the event.

Source
model

The model used for the event.

Source
output_tokens

The number of LLM output tokens used for the event.

Source
prompt

The LLM prompt used for the event.

Source
response

The LLM response used for the event.

Source
total_tokens

The total number of LLM tokens used for the event.

Source
vendor

The vendor of the event.

Source