Skip to content

PersistentAI API Documentation / @persistent-ai/fireflow-nodes / LLMResponseChunk

Class: LLMResponseChunk

Defined in: packages/fireflow-nodes/src/nodes/ai/llm-types.ts:69

Constructors

Constructor

new LLMResponseChunk(): LLMResponseChunk

Returns

LLMResponseChunk

Properties

content

content: any = ''

Defined in: packages/fireflow-nodes/src/nodes/ai/llm-types.ts:71


id?

optional id: string

Defined in: packages/fireflow-nodes/src/nodes/ai/llm-types.ts:103


response_metadata

response_metadata: Record<string, any> = {}

Defined in: packages/fireflow-nodes/src/nodes/ai/llm-types.ts:100


tool_call_chunks

tool_call_chunks: LLMToolCallChunk[] = []

Defined in: packages/fireflow-nodes/src/nodes/ai/llm-types.ts:85


tool_calls

tool_calls: LLMToolCall[] = []

Defined in: packages/fireflow-nodes/src/nodes/ai/llm-types.ts:78


usage_metadata?

optional usage_metadata: LLMUsageMetadata

Defined in: packages/fireflow-nodes/src/nodes/ai/llm-types.ts:92

Licensed under BUSL-1.1