Skip to main content
Keyword matcher node that matches keywords in text input. This node processes text input and identifies matching keywords from a predefined list. Input: String - The data type that KeywordMatcherNode accepts as input Output: GraphTypes.MatchedKeywords - The data type that KeywordMatcherNode outputs Example:
const keywordNode = new KeywordMatcherNode({
  keywords: ['urgent', 'important', 'priority', 'asap'],
  reportToClient: true
});

Constructor

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

Parameters

props (KeywordMatcherNodeProps) Configuration for the keyword matcher node.

Returns

KeywordMatcherNode Overrides AbstractNode.constructor