kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
51 wiersze
1.0 KiB
Markdown
51 wiersze
1.0 KiB
Markdown
![]() |
[chatgpt](../readme.md) / [Exports](../modules.md) / [openai](../modules/openai.md) / ChatCompletionResponseMessage
|
||
|
|
||
|
# Interface: ChatCompletionResponseMessage
|
||
|
|
||
|
[openai](../modules/openai.md).ChatCompletionResponseMessage
|
||
|
|
||
|
**`Export`**
|
||
|
|
||
|
**`Interface`**
|
||
|
|
||
|
ChatCompletionResponseMessage
|
||
|
|
||
|
## Table of contents
|
||
|
|
||
|
### Properties
|
||
|
|
||
|
- [content](openai.ChatCompletionResponseMessage.md#content)
|
||
|
- [role](openai.ChatCompletionResponseMessage.md#role)
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
### content
|
||
|
|
||
|
• **content**: `string`
|
||
|
|
||
|
The contents of the message
|
||
|
|
||
|
**`Memberof`**
|
||
|
|
||
|
ChatCompletionResponseMessage
|
||
|
|
||
|
#### Defined in
|
||
|
|
||
|
[src/types.ts:210](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L210)
|
||
|
|
||
|
___
|
||
|
|
||
|
### role
|
||
|
|
||
|
• **role**: [`ChatCompletionResponseMessageRoleEnum`](../modules/openai.md#chatcompletionresponsemessageroleenum-1)
|
||
|
|
||
|
The role of the author of this message.
|
||
|
|
||
|
**`Memberof`**
|
||
|
|
||
|
ChatCompletionResponseMessage
|
||
|
|
||
|
#### Defined in
|
||
|
|
||
|
[src/types.ts:204](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L204)
|