Skip to content

Content Filter

Filter blocked words and phrases from LLM message content.

Filter blocked words and phrases from LLM message content.

Replaces occurrences of configured blocked words with ‘[FILTERED]’ in message content. Supports both string content and multimodal list content.

FieldTypeDefaultDescription
blocked_wordsarray[]List of words or phrases to filter from content.
# basic
type: content_filter
config:
blocked_words:
- badword
- secret