SQL, graphs and passages
medium 6 minThe representation determines which questions an answer can support.
Remember it
The few things worth knowing cold, and how to make them stick.
Memory hook
The representation determines which questions an answer can support. A passage retriever selects a bounded sample of relevant text. A structured query can aggregate every eligible row under specified joins and filters. A graph organizes entities and relationships so a query can follow links or summarize groups. Each design needs a distinct ground truth and a record of which data and permissions were used.