You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Uses a stronger model (e.g., GPT-4o) to judge the output of the cheaper pipeline."""
20
+
"""Uses a stronger model to judge the output based strictly on Toulmin's Model of Argumentation."""
21
+
logger.info("⚖️ Initiating strict Toulmin-based evaluation of the final artifact...")
22
+
28
23
messages= [
29
24
{
30
25
"role": "system",
31
-
"content": "You are a highly critical, NeurIPS-level peer reviewer. Evaluate the following research artifact for logical coherence and hallucination.",
"You are an Elite Academic Peer Reviewer specializing in the Toulmin Model of Argumentation. "
28
+
"Do NOT judge the artifact based on prose or formatting. You must ONLY evaluate the strength of the 'Warrants' (do they bridge the data to the claim?) "
29
+
"and the validity of the 'Rebuttals/Falsifiers' (are they real weaknesses or just strawmen?)."
30
+
),
36
31
},
32
+
{"role": "user", "content": f"Core Inquiry: {question}\n\nSubmitted Artifact:\n{artifact_text}\n\nExecute the Toulmin Evaluation."},
37
33
]
38
34
39
-
# We use a heavier model for judging, but keep temp 0.0 for deterministic grading
"You are a rigorous analytical philosopher and empirical scientist. Your task is to break down the user's premise into a 'Claim Lattice'. "
33
34
"CRITICAL RULE: You MUST ground your claims using the 'Live Evidence' provided. Do not hallucinate. "
34
-
"You are strictly forbidden from making ANY claim without providing an 'epistemic_warrant' (a clear logical explanation) "
35
+
"You are strictly forbidden from making ANY claim without providing an 'epistemic_warrant' (a clear logical explanation quoting the evidence) "
35
36
"and a 'potential_falsifier'. No confident mush allowed."
36
-
),
37
+
)
37
38
},
38
39
{
39
-
"role": "user",
40
-
"content": f"Core Premise: {spec.question}\nKeywords: {spec.keywords}\n\n=== LIVE EMPIRICAL EVIDENCE ===\n{live_evidence}\n=====================\n\nDeconstruct this into rigorously grounded claims, citing the evidence where applicable.",
41
-
},
40
+
"role": "user",
41
+
"content": f"Core Premise: {spec.question}\nKeywords: {spec.keywords}\n\n=== LIVE EMPIRICAL EVIDENCE ===\n{live_evidence}\n=====================\n\nDeconstruct this into rigorously grounded claims, citing the evidence where applicable."
42
+
}
42
43
]
43
-
44
+
44
45
logger.debug("Dispatching to LLM for Grounded Claim Lattice Generation...")
0 commit comments