mirror of
https://github.com/hoshikawa2/nemo_guardrails_configuration.git
synced 2026-07-09 17:04:20 +00:00
18 lines
223 B
Python
18 lines
223 B
Python
def build_csi_prompt(text):
|
|
return f"""
|
|
Classifique o sentimento do cliente.
|
|
|
|
Texto:
|
|
{text}
|
|
|
|
Opções:
|
|
- Positivo
|
|
- Neutro
|
|
- Negativo
|
|
|
|
Responda JSON:
|
|
{{
|
|
"sentimento": "Positivo/Neutro/Negativo",
|
|
"score": 0-10
|
|
}}
|
|
""" |