Przejdź do głównej zawartości

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:70


created

created: number

Defined in

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


id

id: string

Defined in

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


model

model: string

Defined in

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


object

object: string

Defined in

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