kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
107 wiersze
2.0 KiB
Markdown
107 wiersze
2.0 KiB
Markdown
[chatgpt](../readme.md) / [Exports](../modules.md) / [openai](../modules/openai.md) / CreateChatCompletionResponse
|
|
|
|
# Interface: CreateChatCompletionResponse
|
|
|
|
[openai](../modules/openai.md).CreateChatCompletionResponse
|
|
|
|
**`Export`**
|
|
|
|
**`Interface`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
## Table of contents
|
|
|
|
### Properties
|
|
|
|
- [choices](openai.CreateChatCompletionResponse.md#choices)
|
|
- [created](openai.CreateChatCompletionResponse.md#created)
|
|
- [id](openai.CreateChatCompletionResponse.md#id)
|
|
- [model](openai.CreateChatCompletionResponse.md#model)
|
|
- [object](openai.CreateChatCompletionResponse.md#object)
|
|
- [usage](openai.CreateChatCompletionResponse.md#usage)
|
|
|
|
## Properties
|
|
|
|
### choices
|
|
|
|
• **choices**: [`CreateChatCompletionResponseChoicesInner`](openai.CreateChatCompletionResponseChoicesInner.md)[]
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:372](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L372)
|
|
|
|
___
|
|
|
|
### created
|
|
|
|
• **created**: `number`
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:360](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L360)
|
|
|
|
___
|
|
|
|
### id
|
|
|
|
• **id**: `string`
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:348](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L348)
|
|
|
|
___
|
|
|
|
### model
|
|
|
|
• **model**: `string`
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:366](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L366)
|
|
|
|
___
|
|
|
|
### object
|
|
|
|
• **object**: `string`
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:354](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L354)
|
|
|
|
___
|
|
|
|
### usage
|
|
|
|
• `Optional` **usage**: [`CreateCompletionResponseUsage`](openai.CreateCompletionResponseUsage.md)
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:378](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L378)
|