Defend

Sentiment

Sentiment and tone constraints for output text.

YAML key: sentiment
Direction: output

Sentiment and tone constraints for output text.

Configuration

Prop

Type

Example

defend.config.yaml (fragment)
guards:
  output:
    enabled: true
    provider: claude
    modules:
      - "sentiment"

Provider usage

Use under guards.output.modules.

See the modules overview.