Every exercise on this phase built one piece in isolation — BM25 ranking, RRF
fusion, a citation checker, an MCP tool server, a RAGAS-style harness against a mock judge.
This project wires them into one real service: ingest a document set into Postgres with
pgvector, retrieve hybrid (BM25 + vectors, fused and re-ranked), answer through
an agent loop that calls at least two tools, trace every call in Langfuse, and grade the
whole thing with a RAGAS report and a citation check over 50 real answers. It runs on your
machine and, later, on Fargate — this page is the checklist, not a tutorial to copy.
pgvector extension.This is self-attestation — the site cannot see your repo or your Langfuse project, so the box and the button are you telling The Path the service exists and the milestones are real.
pgvector/pgvector) is the
fastest local start; CREATE EXTENSION vector; once per database, then an
embedding vector(N) column sized to your embedding model's output.