We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if we just allow a user to set a list of banned keywords, we can do quick checks during streaming for simple output moderation
this would be significantly faster than the user needing to set up an external api for just keyword checking.
The text was updated successfully, but these errors were encountered:
How would the user pass this?
Could be similar to how we do the other moderation stuff on proxy
litellm_settings: banned_keywords: /path/to/banned_keywords.txt
Expected format in .txt
competitor_1 competitor_2 banned_keyword_1 banned_keyword_2
Sorry, something went wrong.
mounting files can be a pain, might be easier to start with just a list
litellm_settings: banned_keywords: ["competitor_1", "competitor_2", "banned_keyword_1"]
Closing as this is now live
No branches or pull requests
if we just allow a user to set a list of banned keywords, we can do quick checks during streaming for simple output moderation
this would be significantly faster than the user needing to set up an external api for just keyword checking.
The text was updated successfully, but these errors were encountered: