struct

Crig::Providers::Cohere::Usage

Inherits Crig::Completion::GetTokenUsage < JSON::Serializable < Struct < Value < Object

Constructors

new(billed_units : BilledUnits | Nil = nil, tokens : Tokens | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

billed_units
Source
completion_usage
Source
token_usage
Source
tokens
Source