View Source ExOpenAI.Components.CompletionUsage (ex_openai.ex v1.5.1)

Schema representing a CompletionUsage within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.CompletionUsage{
  completion_tokens: integer(),
  prompt_tokens: integer(),
  total_tokens: integer()
}