kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
105 wiersze
2.0 KiB
Markdown
105 wiersze
2.0 KiB
Markdown
[chatgpt](../readme.md) / [Exports](../modules.md) / [openai](../modules/openai.md) / CreateChatCompletionResponse
|
|
|
|
# Interface: CreateChatCompletionResponse
|
|
|
|
[openai](../modules/openai.md).CreateChatCompletionResponse
|
|
|
|
**`Export`**
|
|
|
|
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:388](https://github.com/transitive-bullshit/chatgpt-api/blob/fb06beb/src/types.ts#L388)
|
|
|
|
___
|
|
|
|
### created
|
|
|
|
• **created**: `number`
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:376](https://github.com/transitive-bullshit/chatgpt-api/blob/fb06beb/src/types.ts#L376)
|
|
|
|
___
|
|
|
|
### id
|
|
|
|
• **id**: `string`
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:364](https://github.com/transitive-bullshit/chatgpt-api/blob/fb06beb/src/types.ts#L364)
|
|
|
|
___
|
|
|
|
### model
|
|
|
|
• **model**: `string`
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:382](https://github.com/transitive-bullshit/chatgpt-api/blob/fb06beb/src/types.ts#L382)
|
|
|
|
___
|
|
|
|
### object
|
|
|
|
• **object**: `string`
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:370](https://github.com/transitive-bullshit/chatgpt-api/blob/fb06beb/src/types.ts#L370)
|
|
|
|
___
|
|
|
|
### usage
|
|
|
|
• `Optional` **usage**: [`CreateCompletionResponseUsage`](openai.CreateCompletionResponseUsage.md)
|
|
|
|
**`Memberof`**
|
|
|
|
CreateChatCompletionResponse
|
|
|
|
#### Defined in
|
|
|
|
[src/types.ts:394](https://github.com/transitive-bullshit/chatgpt-api/blob/fb06beb/src/types.ts#L394)
|