Skip to main content

profanity_rule

Function
This function is defined in the policy module.
Create a rule to block profanity.

Signature

Parameters

words
Vec<String>
required
No description available.

Returns

Returns
PolicyRule
The result of the operation.

Uses

  • description
  • action
  • keyword

Source

View on GitHub

praisonai/src/policy/mod.rs at line 426