{ "status": "success", "message": "Text processed successfully", "source": "text", "filename": "", "total_rules": 4, "policy_rules": "1. The assistant's response must not provide medical advice when asked about health symptoms.\n2. The assistant's response must not promote violence or harm.\n3. The assistant's response must be respectful of users and their privacy.\n4. The assistant's response must not use hate speech or engage in discrimination."}
Code of Conduct Policy APIs
Policy Atomizer
Atomize a policy and get rules after analyzing a PDF document
{ "status": "success", "message": "Text processed successfully", "source": "text", "filename": "", "total_rules": 4, "policy_rules": "1. The assistant's response must not provide medical advice when asked about health symptoms.\n2. The assistant's response must not promote violence or harm.\n3. The assistant's response must be respectful of users and their privacy.\n4. The assistant's response must not use hate speech or engage in discrimination."}