Files
nemo_guardrails_configuration/nemo_guardrails_tracing_project/src/prompts/tox.py
2026-04-28 00:09:01 -03:00

17 lines
201 B
Python

def build_tox_prompt(text):
return f"""
Classifique o texto abaixo:
Texto:
{text}
Classifique como:
- TOXICO
- NORMAL
Responda JSON:
{{
"allowed": true/false,
"label": "TOXICO/NORMAL"
}}
"""