Funcional

This commit is contained in:
2026-05-01 14:12:53 -03:00
parent a170a09cbd
commit 171e0bb3af
52 changed files with 1727 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
def build_gnd_prompt(resposta, context):
return f"""
Verifique se a resposta está fundamentada.
Resposta:
{resposta}
Base:
{context.get("chunks_rag", [])}
Responda:
{{
"allowed": true/false,
"label": "GROUNDED/UNGROUNDED"
}}
"""