first commit

This commit is contained in:
2026-01-09 23:13:51 -03:00
parent a624d09d74
commit fe049b0555

View File

@@ -617,16 +617,22 @@ def chat():
Graph evidence: Graph evidence:
{graph_context} {graph_context}
Rules: Decision rules:
- Answer ONLY with YES, NO or PARTIAL - Answer ONLY with YES, NO or PARTIAL
- Do NOT assume anything not explicitly stated - Do NOT assume anything not explicitly stated
- If value differs, answer PARTIAL - If value differs, answer PARTIAL
- If not found, answer NO - If not found, answer NO
Return ONLY valid JSON: OUTPUT CONSTRAINTS (MANDATORY):
- Return ONLY a valid JSON object
- Do NOT include explanations, comments, markdown, lists, or code fences
- Do NOT write any text before or after the JSON
- The response must start with an opening curly brace and end with a closing curly brace
JSON schema (return exactly this structure):
{{ {{
"answer": "YES | NO | PARTIAL", "answer": "YES | NO | PARTIAL",
"justification": "<short explanation>", "justification": "<short factual explanation>",
"evidence": [ "evidence": [
{{ {{
"quote": "<exact text>", "quote": "<exact text>",
@@ -763,16 +769,22 @@ Document evidence:
Graph evidence: Graph evidence:
{graph_context} {graph_context}
Rules: Decision rules:
- Answer ONLY with YES, NO or PARTIAL - Answer ONLY with YES, NO or PARTIAL
- Do NOT assume anything not explicitly stated - Do NOT assume anything not explicitly stated
- If value differs, answer PARTIAL - If value differs, answer PARTIAL
- If not found, answer NO - If not found, answer NO
Return ONLY valid JSON: OUTPUT CONSTRAINTS (MANDATORY):
- Return ONLY a valid JSON object
- Do NOT include explanations, comments, markdown, lists, or code fences
- Do NOT write any text before or after the JSON
- The response must start with an opening curly brace and end with a closing curly brace
JSON schema (return exactly this structure):
{{ {{
"answer": "YES | NO | PARTIAL", "answer": "YES | NO | PARTIAL",
"justification": "<short explanation>", "justification": "<short factual explanation>",
"evidence": [ "evidence": [
{{ {{
"quote": "<exact text>", "quote": "<exact text>",