Skip to main content
Configuration interface for KeywordMatcherNode creation. Extends: AbstractNodeProps

Interface Definition

interface KeywordMatcherNodeProps {
    id?: string;
    keywords: string[];
    reportToClient?: boolean;
}

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

keywords

keywords: string[]
List of keywords to match against input text. Remarks: Matching semantics are implementation-defined (e.g., case sensitivity, tokenization). Refer to the node processing docs for details.

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