Skip to content

Add evidence-aware retrieval responses - #1

Draft
MohammadSyed18 wants to merge 1 commit into
mainfrom
agent/evidence-aware-retrieval
Draft

Add evidence-aware retrieval responses#1
MohammadSyed18 wants to merge 1 commit into
mainfrom
agent/evidence-aware-retrieval

Conversation

@MohammadSyed18

Copy link
Copy Markdown
Owner

What changed

  • map every generated sentence to its supporting source citation
  • return structured evidence with passage IDs and retrieval scores
  • detect conflicting dates across retrieved evidence and reduce confidence

Why

Answers previously numbered sentences independently from deduplicated citations, which could make a marker point at the wrong source. Explicit evidence mapping makes retrieval output auditable and conflicting announcements visible.

Validation

  • npm test (6 tests)
  • git diff --check

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.

1 participant