~/talk

Building Intelligent Applications with Graph-Based RAG on PostgreSQL

slides:none on file

Demonstrates a legal Copilot built in Postgres on a Washington subset of the US Caselaw dataset (~100k cases, ~500k pages), converting opinions to embeddings with pgvector and azure_ai, adding graph relations via Apache age, and indexing with pg_diskann. Claims DiskANN shrinks index size (150 MB vs ~3.5 GB — ~25×) for faster, cheaper ANN at scale. Basic vector RAG yields ~40% recall on a prominence query; combining vector search, graph re-ranking and reciprocal rank fusion (GraphRAG) raises relevant-case rankings substantially, producing more accurate retrievals for natural-language legal queries.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Agenda / Why Postgres
  3. 3:47US Case Law Dataset
  4. 4:32Semantic Search
  5. 5:37Vector 101
  6. 8:25Basic RAG
  7. 9:09Common Problem with RAG
  8. 13:45Advanced RAG Architecture
  9. 20:40Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.