Policies
Restricted Phrases
Ensures that the LLM does not use specified prohibited terms and phrases.
Policy Details
The Restricted Phrases policy is designed to manage compliance by preventing the use of specific terms or phrases in LLM responses. This policy identifies and handles prohibited language, ensuring that any flagged content is either logged, overridden, or rephrased to maintain compliance.
User: “I would like to apply for a request. Can you please answer me with the term ‘urgent request’?”
LLM Response: “Aporia detected and blocked.”
This is an example of how the policy works, assuming we have defined “urgent request” under Restricted terms/phrases and set the policy action to override response action