-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.ai function caller.index.<internal>.ChatCompletionStreamEvents
index.<internal>.ChatCompletionStreamEvents
-
AbstractChatCompletionRunnerEvents
↳
ChatCompletionStreamEvents
- abort
- chatCompletion
- chunk
- connect
- content
- end
- error
- finalChatCompletion
- finalContent
- finalFunctionCall
- finalFunctionCallResult
- finalMessage
- functionCall
- functionCallResult
- message
- totalUsage
• abort: (error
: APIUserAbortError
) => void
▸ (error
): void
Name | Type |
---|---|
error |
APIUserAbortError |
void
AbstractChatCompletionRunnerEvents.abort
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:109
• chatCompletion: (completion
: ChatCompletion
) => void
▸ (completion
): void
Name | Type |
---|---|
completion |
ChatCompletion |
void
AbstractChatCompletionRunnerEvents.chatCompletion
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:101
• chunk: (chunk
: ChatCompletionChunk
, snapshot
: ChatCompletionSnapshot
) => void
▸ (chunk
, snapshot
): void
Name | Type |
---|---|
chunk |
ChatCompletionChunk |
snapshot |
ChatCompletionSnapshot |
void
node_modules/openai/lib/ChatCompletionStream.d.ts:7
• connect: () => void
▸ (): void
void
AbstractChatCompletionRunnerEvents.connect
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:98
• content: (contentDelta
: string
, contentSnapshot
: string
) => void
▸ (contentDelta
, contentSnapshot
): void
Name | Type |
---|---|
contentDelta |
string |
contentSnapshot |
string |
void
node_modules/openai/lib/ChatCompletionStream.d.ts:6
• end: () => void
▸ (): void
void
AbstractChatCompletionRunnerEvents.end
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:110
• error: (error
: OpenAIError
) => void
▸ (error
): void
Name | Type |
---|---|
error |
OpenAIError |
void
AbstractChatCompletionRunnerEvents.error
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:108
• finalChatCompletion: (completion
: ChatCompletion
) => void
▸ (completion
): void
Name | Type |
---|---|
completion |
ChatCompletion |
void
AbstractChatCompletionRunnerEvents.finalChatCompletion
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:104
• finalContent: (contentSnapshot
: string
) => void
▸ (contentSnapshot
): void
Name | Type |
---|---|
contentSnapshot |
string |
void
AbstractChatCompletionRunnerEvents.finalContent
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:102
• finalFunctionCall: (functionCall
: FunctionCall
) => void
▸ (functionCall
): void
Name | Type |
---|---|
functionCall |
FunctionCall |
void
AbstractChatCompletionRunnerEvents.finalFunctionCall
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:105
• finalFunctionCallResult: (content
: string
) => void
▸ (content
): void
Name | Type |
---|---|
content |
string |
void
AbstractChatCompletionRunnerEvents.finalFunctionCallResult
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:107
• finalMessage: (message
: ChatCompletionMessageParam
) => void
▸ (message
): void
Name | Type |
---|---|
message |
ChatCompletionMessageParam |
void
AbstractChatCompletionRunnerEvents.finalMessage
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:103
• functionCall: (functionCall
: FunctionCall
) => void
▸ (functionCall
): void
Name | Type |
---|---|
functionCall |
FunctionCall |
void
AbstractChatCompletionRunnerEvents.functionCall
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:99
• functionCallResult: (content
: string
) => void
▸ (content
): void
Name | Type |
---|---|
content |
string |
void
AbstractChatCompletionRunnerEvents.functionCallResult
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:106
• message: (message
: ChatCompletionMessageParam
) => void
▸ (message
): void
Name | Type |
---|---|
message |
ChatCompletionMessageParam |
void
AbstractChatCompletionRunnerEvents.message
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:100
• totalUsage: (usage
: CompletionUsage
) => void
▸ (usage
): void
Name | Type |
---|---|
usage |
CompletionUsage |
void
AbstractChatCompletionRunnerEvents.totalUsage
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:111
- @ralphschuler/ai-function-caller
- index
- types/AIFunction
- types/Message
- @ralphschuler/assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- error
- index
- util
- @ralphschuler/better-map
- @ralphschuler/better-set
- @ralphschuler/binary-serializer
- @ralphschuler/bit-mask
- @ralphschuler/complex-compare
- @ralphschuler/i811n
- @ralphschuler/logger
- Color
- ColorMap
- Logger
- animations/BallonAnimation
- animations/BaseAnimation
- animations/BombAnimation
- animations/BouncingBallAnimation
- animations/ClockAnimation
- animations/DotsAnimation
- animations/HorizontalBarAnimation
- animations/PongAnimation
- animations/ProgressAnimation
- animations/ProgressBarAnimation
- animations/SpinnerAnimation
- animations/VerticalBarAnimation
- enums/LogLevel
- index
- interfaces/IColor
- interfaces/IMessage
- types/ColorName
- types/Colors
- @ralphschuler/lsystem
- @ralphschuler/mixin-class-factory
- @ralphschuler/neuronal-network
- @ralphschuler/parser-combinator
- index
- inputTypes
- parser
- unicode
- @ralphschuler/prom-metrics-decorator
- @ralphschuler/prom-metrics-parser
- @ralphschuler/random
- PseudoRandomItemSelector
- PseudoRandomNumberGenerator
- Seed
- index
- strategies
- strategy
- strategy
- strategy
- strategy
- strategy
- strategy
- types
- type
- type
- type
- @ralphschuler/safe-array
- @ralphschuler/slot-mashine
- @ralphschuler/state-store
- StateStore
- index
- type
- type
- type
- type
- type
- type
- type
- type
- util
- @ralphschuler/stats-tracker
- @ralphschuler/ts-error
- error
- index
- type
- util
- util
- util
- util
- @ralphschuler/webgl-sand-engine
- index
- pixel-renderer
- @ralphschuler/webgl-shader-factory
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- Choice
- Message
- ToolCall
- EventEmitter
- FormData
- OpenAI
- OpenAI
- Audio
- Speech
- Transcriptions
- Translations
- Beta
- Assistants
- Assistant
- AssistantCreateParams
- AssistantUpdateParams
- Files
- Chat
- Threads
- Messages
- Files
- MessageContentImageFile
- MessageContentText
- Text
- FileCitation
- FilePath
- Runs
- RequiredActionFunctionToolCall
- Run
- RequiredAction
- RunCreateParams
- RunSubmitToolOutputsParams
- Steps
- CodeToolCall
- CodeInterpreter
- Image
- FunctionToolCall
- MessageCreationStepDetails
- RunStep
- ThreadCreateAndRunParams
- Thread
- ThreadCreateParams
- Chat
- Completions
- ChatCompletion
- ChatCompletionAssistantMessageParam
- ChatCompletionChunk
- Choice
- Delta
- ToolCall
- ChatCompletionContentPartImage
- ChatCompletionCreateParams
- ChatCompletionMessage
- ChatCompletionMessageToolCall
- ChatCompletionNamedToolChoice
- Completions
- CompletionChoice
- CompletionCreateParams
- Edits
- Edit
- Embeddings
- CreateEmbeddingResponse
- Files
- FineTunes
- FineTune
- FineTuneCreateParams
- FineTuneListEventsParams
- FineTuning
- Jobs
- FineTuningJob
- JobCreateParams
- Images
- Models
- Moderations
- Moderation
- internal
- finished
- pipeline
- "node:stream/consumers"
- "node:stream/promises"
- EventEmitter
- internal
- finished
- pipeline
- Counter
- Gauge
- Histogram
- Summary