forked from transitive-bullshit/agentic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf66500
commit 600b35e
Showing
16 changed files
with
327 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ Error.constructor | |
|
||
#### Defined in | ||
|
||
node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es5.d.ts:1059 | ||
node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es5.d.ts:1060 | ||
|
||
• **new ChatGPTError**(`message?`, `options?`) | ||
|
||
|
@@ -56,7 +56,7 @@ Error.constructor | |
|
||
#### Defined in | ||
|
||
node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2022.error.d.ts:30 | ||
node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:28 | ||
|
||
## Properties | ||
|
||
|
@@ -66,7 +66,7 @@ node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error | |
|
||
#### Defined in | ||
|
||
[src/types.ts:80](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L80) | ||
[src/types.ts:86](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L86) | ||
|
||
___ | ||
|
||
|
@@ -76,7 +76,7 @@ ___ | |
|
||
#### Defined in | ||
|
||
[src/types.ts:79](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L79) | ||
[src/types.ts:85](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L85) | ||
|
||
___ | ||
|
||
|
@@ -86,7 +86,7 @@ ___ | |
|
||
#### Defined in | ||
|
||
[src/types.ts:77](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L77) | ||
[src/types.ts:83](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L83) | ||
|
||
___ | ||
|
||
|
@@ -96,4 +96,4 @@ ___ | |
|
||
#### Defined in | ||
|
||
[src/types.ts:78](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L78) | ||
[src/types.ts:84](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L84) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
[chatgpt](../readme.md) / [Exports](../modules.md) / CreateChatCompletionStreamResponse | ||
|
||
# Interface: CreateChatCompletionStreamResponse | ||
|
||
## Hierarchy | ||
|
||
- [`CreateChatCompletionDeltaResponse`](openai.CreateChatCompletionDeltaResponse.md) | ||
|
||
↳ **`CreateChatCompletionStreamResponse`** | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [choices](CreateChatCompletionStreamResponse.md#choices) | ||
- [created](CreateChatCompletionStreamResponse.md#created) | ||
- [id](CreateChatCompletionStreamResponse.md#id) | ||
- [model](CreateChatCompletionStreamResponse.md#model) | ||
- [object](CreateChatCompletionStreamResponse.md#object) | ||
- [usage](CreateChatCompletionStreamResponse.md#usage) | ||
|
||
## Properties | ||
|
||
### choices | ||
|
||
• **choices**: [{ `delta`: { `content?`: `string` ; `role`: [`Role`](../modules.md#role) } ; `finish_reason`: `string` ; `index`: `number` }] | ||
|
||
#### Inherited from | ||
|
||
[CreateChatCompletionDeltaResponse](openai.CreateChatCompletionDeltaResponse.md).[choices](openai.CreateChatCompletionDeltaResponse.md#choices) | ||
|
||
#### Defined in | ||
|
||
[src/types.ts:198](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L198) | ||
|
||
___ | ||
|
||
### created | ||
|
||
• **created**: `number` | ||
|
||
#### Inherited from | ||
|
||
[CreateChatCompletionDeltaResponse](openai.CreateChatCompletionDeltaResponse.md).[created](openai.CreateChatCompletionDeltaResponse.md#created) | ||
|
||
#### Defined in | ||
|
||
[src/types.ts:196](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L196) | ||
|
||
___ | ||
|
||
### id | ||
|
||
• **id**: `string` | ||
|
||
#### Inherited from | ||
|
||
[CreateChatCompletionDeltaResponse](openai.CreateChatCompletionDeltaResponse.md).[id](openai.CreateChatCompletionDeltaResponse.md#id) | ||
|
||
#### Defined in | ||
|
||
[src/types.ts:194](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L194) | ||
|
||
___ | ||
|
||
### model | ||
|
||
• **model**: `string` | ||
|
||
#### Inherited from | ||
|
||
[CreateChatCompletionDeltaResponse](openai.CreateChatCompletionDeltaResponse.md).[model](openai.CreateChatCompletionDeltaResponse.md#model) | ||
|
||
#### Defined in | ||
|
||
[src/types.ts:197](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L197) | ||
|
||
___ | ||
|
||
### object | ||
|
||
• **object**: ``"chat.completion.chunk"`` | ||
|
||
#### Inherited from | ||
|
||
[CreateChatCompletionDeltaResponse](openai.CreateChatCompletionDeltaResponse.md).[object](openai.CreateChatCompletionDeltaResponse.md#object) | ||
|
||
#### Defined in | ||
|
||
[src/types.ts:195](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L195) | ||
|
||
___ | ||
|
||
### usage | ||
|
||
• **usage**: [`CreateCompletionStreamResponseUsage`](CreateCompletionStreamResponseUsage.md) | ||
|
||
#### Defined in | ||
|
||
[src/types.ts:97](https://github.com/transitive-bullshit/chatgpt-api/blob/bf66500/src/types.ts#L97) |
Oops, something went wrong.