Keyword Filter

Detect messages containing specific keywords or patterns.

The Keyword detector checks messages for specific words or regex patterns you define. Use it to block competitor names, profanity, confidential terms, or any custom vocabulary.

Recommended for Input & Output

Use cases

  • Block mentions of competitor products or companies
  • Filter profanity or inappropriate language
  • Detect references to confidential project names
  • Match patterns like order numbers or internal codes

Labels

KEYWORD_FOUND

A keyword or pattern was found in the message content.

Configuration

Keywords

List of keywords to match. Each keyword can be a plain string or a regex pattern.

Roles default: user

Which message roles to analyze (user, assistant, system).