Skip to content
Tag

Everything tagged #rag

3 articles, newest first.

InferenceFeb 12, 2025 · 3 min read

CAG Over RAG, When Speed Is the Constraint

RAG searches for information on every turn. CAG pre-computes the KV cache. Where Time-to-First-Token and conversational latency matter, caching flips the architecture.

003 min read
CAG Over RAG, When Speed Is the Constraint
EngineeringNov 25, 2024 · 2 min read

Document Question-Answering with Pinecone and Gemini

Pinecone Serverless for sub-50ms vector retrieval, Google's Gemini for grounded synthesis. A complete end-to-end Python implementation with metadata filtering.

002 min read
Document Question-Answering with Pinecone and Gemini
EvaluationOct 28, 2024 · 4 min read

How Retrieval-Augmented Generation Works

A vector database, cosine similarity, and an LLM context injection. The mathematical and code mechanics of grounding language models.

004 min read
How Retrieval-Augmented Generation Works