struct LLM::CLI::OpenAI::Usage

Included Modules

Defined in:

llm-cli/chat/openai/model.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(total_tokens : Int64, prompt_tokens : Int64, completion_tokens : Int64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def completion_tokens : Int64 #

[View source]
def prompt_tokens : Int64 #

[View source]
def total_tokens : Int64 #

[View source]