2023-03-02 05:32:33 +00:00
|
|
|
[chatgpt](../readme.md) / [Exports](../modules.md) / [openai](../modules/openai.md) / CreateCompletionResponseUsage
|
|
|
|
|
|
|
|
# Interface: CreateCompletionResponseUsage
|
|
|
|
|
|
|
|
[openai](../modules/openai.md).CreateCompletionResponseUsage
|
|
|
|
|
|
|
|
**`Export`**
|
|
|
|
|
|
|
|
**`Interface`**
|
|
|
|
|
|
|
|
CreateCompletionResponseUsage
|
|
|
|
|
|
|
|
## Table of contents
|
|
|
|
|
|
|
|
### Properties
|
|
|
|
|
|
|
|
- [completion\_tokens](openai.CreateCompletionResponseUsage.md#completion_tokens)
|
|
|
|
- [prompt\_tokens](openai.CreateCompletionResponseUsage.md#prompt_tokens)
|
|
|
|
- [total\_tokens](openai.CreateCompletionResponseUsage.md#total_tokens)
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
### completion\_tokens
|
|
|
|
|
|
|
|
• **completion\_tokens**: `number`
|
|
|
|
|
|
|
|
**`Memberof`**
|
|
|
|
|
|
|
|
CreateCompletionResponseUsage
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-03-28 03:13:37 +00:00
|
|
|
[src/types.ts:422](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L422)
|
2023-03-02 05:32:33 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### prompt\_tokens
|
|
|
|
|
|
|
|
• **prompt\_tokens**: `number`
|
|
|
|
|
|
|
|
**`Memberof`**
|
|
|
|
|
|
|
|
CreateCompletionResponseUsage
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-03-28 03:13:37 +00:00
|
|
|
[src/types.ts:416](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L416)
|
2023-03-02 05:32:33 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### total\_tokens
|
|
|
|
|
|
|
|
• **total\_tokens**: `number`
|
|
|
|
|
|
|
|
**`Memberof`**
|
|
|
|
|
|
|
|
CreateCompletionResponseUsage
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-03-28 03:13:37 +00:00
|
|
|
[src/types.ts:428](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L428)
|