Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 567 Bytes

CompletionUsage.md

File metadata and controls

22 lines (16 loc) · 567 Bytes

OpenapiClient::CompletionUsage

Properties

Name Type Description Notes
completion_tokens Integer Number of tokens in the generated completion.
prompt_tokens Integer Number of tokens in the prompt.
total_tokens Integer Total number of tokens used in the request (prompt + completion).

Example

require 'openapi_client'

instance = OpenapiClient::CompletionUsage.new(
  completion_tokens: null,
  prompt_tokens: null,
  total_tokens: null
)