struct

AI::Provider::LanguageModel::ResponseMetadata

Inherits JSON::Serializable < Struct < Value < Object

Response metadata from the provider.

Constructors

new(id : String | Nil = nil, timestamp : Time | Nil = nil, model_id : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

ID of the generated response.

Source
model_id

Model ID that generated the response.

Source
timestamp

Timestamp of the response.

Source