Code of Conduct Policy APIs
Policy Atomizer
Atomize a policy and get rules after analyzing a PDF document
POST
Authorizations
Body
multipart/form-data
PDF file containing the policy document if not provided in the text
Optional policy text content if not provided in the file
Response
200 - application/json
Successful Response
Example:
"success"
Example:
"Text processed successfully"
Example:
"text"
Example:
""
Example:
4
Example:
"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."