Skip to main content

Input

Type: String The data type that KeywordMatcherNode accepts as input

Output

Type: GraphTypes.MatchedKeywords The data type that KeywordMatcherNode outputs

Examples

const keywordNode = new KeywordMatcherNode({
keywords: ['urgent', 'important', 'priority', 'asap'],
reportToClient: true
});

Constructors

Interfaces


Constructors

constructor

new KeywordMatcherNode(props: KeywordMatcherNodeProps): KeywordMatcherNode
Creates a new KeywordMatcherNode instance.

Parameters

props
KeywordMatcherNodeProps
required
Configuration for the keyword matcher node.

Returns

KeywordMatcherNode

Interfaces

KeywordMatcherNodeProps

Configuration interface for KeywordMatcherNode creation.

Properties

keywords: string[] | { name: string; keywords: string[]; }[] Keywords can be either a flat array of strings or structured groups. For CPP compatibility, use structured format: Array<{name: string, keywords: string[]}>