Skip to main content

validation

Use Validation to validate or filter out unwanted content from the response (similar to the Prompt valdation). It's primarly used for DLP (Data Leakage Prevention), PII (Personal Identifiable Information), Profanity filtration etc.

  # ❌ Filter Profanity   
validation:
- package: floom/plugins/bad-words-filter
disallow: ['profanity']