Files
nemo_guardrails_configuration/final_pkg/company_nemo_guardrails/prompts/tox.py
2026-05-01 14:12:53 -03:00

17 lines
259 B
Python

def build_tox_prompt(text):
return f"""
Classifique o texto abaixo:
Texto:
{text}
Classifique como:
- TOXICO: Apenas se encontrar palavras ofensivas ou condenatórias
- NORMAL
Responda JSON:
{{
"allowed": true/false,
"label": "TOXICO/NORMAL"
}}
"""