advisory-rag
GitHubPersonal project · 2026
Retrieval-augmented question answering over 300 GitHub security advisories. Chunks are embedded locally and stored in PostgreSQL with pgvector, vector and full-text results are merged with Reciprocal Rank Fusion, and Claude answers with citations to the source text. A retrieval eval of 180 questions showed both retrievers miss CVE id lookups, and routing exact ids to a direct lookup lifted recall@5 from 0.68 to 0.99.
- Python
- pgvector
- PostgreSQL
- FastAPI
- Embeddings
- Claude API
- pytest








