feat: add evidence verification agent for scholarly claims - #368
Conversation
|
@Onlyabdull Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Warning Review limit reachedNext included review available in 54 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Overview
This PR adds an AI-style Evidence Verification Agent for Scholarly Claims that extracts claims from generated responses, traces cited evidence to primary sources, validates Quranic and Hadith citations, checks scholarly attribution, and flags unsupported or weakly supported claims — with verification accuracy targeting ≥95%.
Related Issue
Closes #<issue_number>
Changes
🔍 Evidence Verification Agent
[ADD]
evidence_agent.py[ADD]
verifier.pyverify_claim()andgenerate_audit_trail()APIs.[MODIFY]
citations.pysurah:ayah) and Hadith references (book:number).[MODIFY]
hadith.py[MODIFY]
reasoning_chains.py[MODIFY]
main.pyVerification Results
Closes #131