Skip to main content

Interface: DefaultStreamToken

Properties

choices

choices: { delta: { content?: null | string ; role?: "function" | "user" | "assistant" | "system" | "tool" } ; finish_reason: null | string ; index: number }[]

Defined in

packages/core/src/callbacks/CallbackManager.ts:56


created

created: number

Defined in

packages/core/src/callbacks/CallbackManager.ts:54


id

id: string

Defined in

packages/core/src/callbacks/CallbackManager.ts:52


model

model: string

Defined in

packages/core/src/callbacks/CallbackManager.ts:55


object

object: string

Defined in

packages/core/src/callbacks/CallbackManager.ts:53