rajyalakshmijampani commited on
Commit
cd9a82f
·
1 Parent(s): 48ed141
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -137,16 +137,18 @@ def classify_text(claim):
137
 
138
  User's statement: "{claim}"
139
 
140
- Relevant evidences: {chr(10).join(f"- {e}" for e in evidences)}
 
141
 
142
  The system’s current assessment is that the claim is: "{label_str}".
143
 
144
- Evaluate the claim, evidences, and system's assessment. You may disagree with the system if the evidences clearly contradict the claim.
145
  Write your reasoning and return it STRICTLY as a JSON object with the following fields:
146
  {{
147
  "verdict": "Real / Fake / Uncertain",
148
  "explanation": "3–5 natural sentences explaining what makes the claim true or fake or uncertain.
149
- User does not have the context of evidences. In case you are referring to evidences, briefly summarize them.",
 
150
  "confidence": "Low / Medium / High
151
  Decide this depending on how strong the evidences are, how clear the reasoning is,
152
  and how certain you are about your verdict."
 
137
 
138
  User's statement: "{claim}"
139
 
140
+ Information you have received (use this for reasoning, but do not mention or list it directly):
141
+ {chr(10).join(f"- {e}" for e in evidences)}
142
 
143
  The system’s current assessment is that the claim is: "{label_str}".
144
 
145
+ Now, carefully evaluate the statement and the assessment. You may disagree with the system if the evidences clearly contradict the claim.
146
  Write your reasoning and return it STRICTLY as a JSON object with the following fields:
147
  {{
148
  "verdict": "Real / Fake / Uncertain",
149
  "explanation": "3–5 natural sentences explaining what makes the claim true or fake or uncertain.
150
+ Do NOT mention words like 'evidence', 'sources', or 'provided information'.
151
+ Instead, explain the reasoning naturally as if you are telling it from general knowledge.",",
152
  "confidence": "Low / Medium / High
153
  Decide this depending on how strong the evidences are, how clear the reasoning is,
154
  and how certain you are about your verdict."