Skip to main content
Configuration interface for LLMChatRequestBuilderNode creation. Remarks: Supplies chat message templates, optional tool definitions, tool choice, and response format. Extends: AbstractNodeProps

Interface Definition

interface LLMChatRequestBuilderNodeProps {
    id?: string;
    messages?: MessageTemplate[];
    reportToClient?: boolean;
    responseFormat?: "text" | "json" | "json_schema";
    toolChoice?: RequestBuilderToolChoice;
    tools?: Tool[];
}

Properties

id (optional)

id?: string
Optional explicit node identifier. Remarks: If omitted, a stable auto-generated ID based on the class name is assigned. Inherited from: AbstractNodeProps.id

messages (optional)

messages?: MessageTemplate[]
List of message templates

reportToClient (optional)

reportToClient?: boolean
Whether this node should report its outputs to the client. If set to true, you will see the output of this node in the GraphOutputStream. Inherited from: AbstractNodeProps.reportToClient

responseFormat (optional)

responseFormat?: "text" | "json" | "json_schema"
Response format specification (‘text’, ‘json’, ‘json_schema’)

toolChoice (optional)

toolChoice?: RequestBuilderToolChoice
Tool choice configuration

tools (optional)

tools?: Tool[]
List of available tools for function calling