mirror of
https://github.com/hoshikawa2/nemo_guardrails_configuration.git
synced 2026-07-10 01:14:19 +00:00
Funcional
This commit is contained in:
18
final_pkg/company_nemo_guardrails/prompts/csi.py
Normal file
18
final_pkg/company_nemo_guardrails/prompts/csi.py
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
}}
|
||||
"""
|
||||
Reference in New Issue
Block a user