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). |
require 'openapi_client'
instance = OpenapiClient::CompletionUsage.new(
completion_tokens: null,
prompt_tokens: null,
total_tokens: null
)