Spaces:
Sleeping
Sleeping
File size: 2,307 Bytes
9a31c8f 6271c29 96ebd33 6271c29 0b633df 6271c29 9a31c8f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
templates = {
"no_evidence": "You are an AI model tasked with verifying claims related to medical and health topics using zero-shot learning. Your job is to analyze a given claim and decide whether the available evidence and your general medical knowledge would likely SUPPORT or CONTRADICT the claim." \
"Claim to Evaluate: <claim> $claim </claim>" \
"Guidelines:" \
"Evaluate the claim's plausibility based on general medical knowledge." \
"Consider the specificity and credibility of any numbers or percentages." \
"Analyze the context and scope of the claim." \
"Assess any potential biases or limitations." \
"Output Format:" \
"After your analysis, output exactly one JSON object with two keys:" \
'"reasoning": A brief explanation (one or two sentences).' \
'"decision": Either "SUPPORT" or "CONTRADICT" (uppercase, no additional text).' \
"Do not add markdown formatting, code fences, or additional text. The output must start with { and end with }." \
'Example Output: {"reasoning": "Your brief explanation here (one or two sentences).", "decision": "SUPPORT or CONTRADICT"}' \
"Now, please evaluate the claim above." \
"",
"with_evidence": "You are an AI model tasked with verifying claims related to medical and health topics using zero-shot learning. Your job is to analyze a given claim and decide whether the available evidence and your general medical knowledge would likely SUPPORT or CONTRADICT the claim." \
"Claim to Evaluate: <claim> $claim </claim>" \
"Relevant Documents: <corpus> $corpus </corpus>" \
"Guidelines:" \
"Evaluate the claim's plausibility based on general medical knowledge." \
"Consider the specificity and credibility of any numbers or percentages." \
"Analyze the context and scope of the claim." \
"Assess any potential biases or limitations." \
"Output Format:" \
"After your analysis, output exactly one JSON object with two keys:" \
'"reasoning": A brief explanation (one or two sentences).' \
'"decision": Either "SUPPORT" or "CONTRADICT" (uppercase, no additional text).' \
"Do not add markdown formatting, code fences, or additional text. The output must start with { and end with }." \
'Example Output: {"reasoning": "Your brief explanation here (one or two sentences).", "decision": "SUPPORT or CONTRADICT"}' \
"Now, please evaluate the claim above." \
""
} |