跳到主要内容

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


created

created: number

Defined in

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


id

id: string

Defined in

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


model

model: string

Defined in

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


object

object: string

Defined in

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