Skip to content

sushildalavi/sourcery

Repository files navigation

sourcery

sourcery is a local scholarly answer system with citations, confidence scoring, and offline-first operation.

What it does

  • Answers questions using retrieved evidence
  • Refuses to answer when evidence is weak
  • Tracks calibrated confidence
  • Combines dense and sparse retrieval
  • Runs locally with optional external APIs
  • Includes benchmarks, evaluation, and Helm deployment support

Quick start

make quick-start

Highlights

  • Cite-or-abstain behavior
  • Calibrated confidence score
  • Hybrid retrieval
  • Offline support
  • Prometheus and Grafana observability

Notes

  • The project is tuned for local use first.
  • External services improve results when available, but they are optional.
  • The repository includes evaluation and deployment material for reviewers.

Portfolio Proof

About

Scholarly RAG app with hybrid retrieval, sentence-level citation grounding, and calibrated per-claim confidence scoring. FastAPI + React + Postgres/pgvector + Ollama. Brier 0.160, AUC 0.852 on held-out eval set.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors