- Preparing search index...
- The search index is not available
docs.hg.fi
Function createOpenAiCompletionResponseUsage
- createOpenAiCompletionResponseUsage(prompt_tokens: number, completion_tokens: number, total_tokens: number): OpenAiCompletionResponseUsage
-
Parameters
-
prompt_tokens: number
-
completion_tokens: number
-
total_tokens: number
Creates an
OpenAiCompletionResponseUsage
object.Returns
The created
OpenAiCompletionResponseUsage
object.