chatgpt-api/docs/interfaces/openai.CreateChatCompletion...

66 wiersze
1.5 KiB
Markdown
Czysty Zwykły widok Historia

2023-03-02 05:32:33 +00:00
[chatgpt](../readme.md) / [Exports](../modules.md) / [openai](../modules/openai.md) / CreateChatCompletionDeltaResponse
# Interface: CreateChatCompletionDeltaResponse
[openai](../modules/openai.md).CreateChatCompletionDeltaResponse
## Table of contents
### Properties
- [choices](openai.CreateChatCompletionDeltaResponse.md#choices)
- [created](openai.CreateChatCompletionDeltaResponse.md#created)
- [id](openai.CreateChatCompletionDeltaResponse.md#id)
- [model](openai.CreateChatCompletionDeltaResponse.md#model)
- [object](openai.CreateChatCompletionDeltaResponse.md#object)
## Properties
### choices
**choices**: [{ `delta`: { `content?`: `string` ; `role`: [`Role`](../modules.md#role) } ; `finish_reason`: `string` ; `index`: `number` }]
#### Defined in
2023-03-11 11:08:14 +00:00
[src/types.ts:179](https://github.com/transitive-bullshit/chatgpt-api/blob/c4ffe53/src/types.ts#L179)
2023-03-02 05:32:33 +00:00
___
### created
**created**: `number`
#### Defined in
2023-03-11 11:08:14 +00:00
[src/types.ts:177](https://github.com/transitive-bullshit/chatgpt-api/blob/c4ffe53/src/types.ts#L177)
2023-03-02 05:32:33 +00:00
___
### id
**id**: `string`
#### Defined in
2023-03-11 11:08:14 +00:00
[src/types.ts:175](https://github.com/transitive-bullshit/chatgpt-api/blob/c4ffe53/src/types.ts#L175)
2023-03-02 05:32:33 +00:00
___
### model
**model**: `string`
#### Defined in
2023-03-11 11:08:14 +00:00
[src/types.ts:178](https://github.com/transitive-bullshit/chatgpt-api/blob/c4ffe53/src/types.ts#L178)
2023-03-02 05:32:33 +00:00
___
### object
**object**: ``"chat.completion.chunk"``
#### Defined in
2023-03-11 11:08:14 +00:00
[src/types.ts:176](https://github.com/transitive-bullshit/chatgpt-api/blob/c4ffe53/src/types.ts#L176)