struct LLM::CLI::OpenAI::Usage
- LLM::CLI::OpenAI::Usage
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
llm-cli/chat/openai/model.crConstructors
- .new(total_tokens : Int64, prompt_tokens : Int64, completion_tokens : Int64)
- .new(pull : JSON::PullParser)
Instance Method Summary
Constructor Detail
def self.new(total_tokens : Int64, prompt_tokens : Int64, completion_tokens : Int64)
#