Framework of four retrieval patterns for AI agents: (1) database filters for structured rows when the answer lives in a small subset, (2) SQL queries for totals, averages, rankings, and trends, (3) full-context stuffing when order and completeness matter and the document fits the context window, and (4) chunk-based vector search for needle-in-haystack semantic lookup. Chosen by asking what method a human would use on the same question. Counters the default-to-vectors habit.
Related entities
Source references
- [src-006] Nate Herk cluster — Nate Herk — RAG and data ingestion cluster (5 videos)
– Videos referenced: kOKavHnlPik
Keep reading from this thread
From 491 indexed pages and articles.
- Wiki concept Pinecone A managed vector database used in Claude Code RAG workflows and Jack Roberts's AI memory-system pattern. Related by retrieval
- Wiki concept LLM Wiki vs Semantic RAG A comparison framework for choosing between two knowledge-base architectures: the Karpathy LLM Wiki Pattern (markdown + index + LLM reader) and Related by retrieval
- Insight Recommendation Systems in Production How recommendation systems become production decisioning systems through signals, ranking, constraints, feedback loops, and experimentation Readers have engaged with this next