Created
October 30, 2025 07:30
-
-
Save WoodProgrammer/48077aeaafb5e395c4f57967e5be9202 to your computer and use it in GitHub Desktop.
topicPolicyConfig.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| topicPolicyConfig={ | |
| 'topicsConfig': [ | |
| { | |
| 'name': 'FinancialAdvice', | |
| 'definition': 'Investment recommendations or financial planning', | |
| 'examples': [ | |
| 'Should I buy stocks?', | |
| 'What should I invest in?' | |
| ], | |
| 'type': 'DENY' | |
| } | |
| ] | |
| }, | |
| sensitiveInformationPolicyConfig={ | |
| 'piiEntitiesConfig': [ | |
| {'type': 'EMAIL', 'action': 'ANONYMIZE'}, | |
| {'type': 'PHONE', 'action': 'ANONYMIZE'}, | |
| {'type': 'US_SOCIAL_SECURITY_NUMBER', 'action': 'BLOCK'} | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment