Skip to content

Add citation verification agent#65

Open
SandunDulanjana wants to merge 1 commit into
mainfrom
feature/sandun-agents
Open

Add citation verification agent#65
SandunDulanjana wants to merge 1 commit into
mainfrom
feature/sandun-agents

Conversation

@SandunDulanjana

Copy link
Copy Markdown
Collaborator

Introduce a CitationAgent to extract and verify legal citations from text. Implements LLM-driven JSON output parsing (_parse_citation_result), post-processing to cross-check VALID citations against CourtListener (verify_with_courtlistener) to detect hallucinations, and recounting of status totals (_recount). Adds citation_node to integrate the agent into the analysis state. Also adds placeholder files for divergence and outcome_predictor agents and a new core/models module (models referenced by the citation agent).

Introduce a CitationAgent to extract and verify legal citations from text. Implements LLM-driven JSON output parsing (_parse_citation_result), post-processing to cross-check VALID citations against CourtListener (verify_with_courtlistener) to detect hallucinations, and recounting of status totals (_recount). Adds citation_node to integrate the agent into the analysis state. Also adds placeholder files for divergence and outcome_predictor agents and a new core/models module (models referenced by the citation agent).

@chamodSN chamodSN left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why some files have no content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants