ExBifrost.Model.BifrostLlmUsage (ex_bifrost v0.1.0)

Copy Markdown View Source

Token usage information

Summary

Types

t()

@type t() :: %ExBifrost.Model.BifrostLlmUsage{
  completion_tokens: integer() | nil,
  completion_tokens_details:
    ExBifrost.Model.ChatCompletionTokensDetails.t() | nil,
  cost: ExBifrost.Model.BifrostCost.t() | nil,
  prompt_tokens: integer() | nil,
  prompt_tokens_details: ExBifrost.Model.ChatPromptTokensDetails.t() | nil,
  total_tokens: integer() | nil
}

Functions

decode(value)