RAG

22 posts tagged #rag

22 posts on RAG, 15 of them in the Production AI Engineering pillar, with 3 in AI Coding Tools & Workflow — most read: “LLM Wiki Setup: Karpathy's Knowledge Base” and “How to Evaluate EmbeddingGemma 2 for Multilingual RAG”.

Woman typing code on a laptop computer AI and Machine Learning

How to Evaluate EmbeddingGemma 2 for Multilingual RAG

EmbeddingGemma 2 is shiny. Shipping it into a multilingual RAG stack without regressions is not. Here’s an embeddings-only eval + rollout playbook that works.

Code written on a screen, likely programming related Developer Tools

arXiv API Rate Limits: Ingest Papers Without Getting Blocked

arXiv capped author submissions on Oct 1, 2026, and its API allows one request every three seconds. Here’s a compliant ingestion blueprint for RAG: incremental harvest, caching, backoff, bulk S3, WARC snapshots, and version tracking.

a man using a laptop computer on a table AI and Machine Learning

How to Build Synthetic Data for RAG Evaluation

A leakage-first, adversarial-negative pipeline to generate, label, and validate a synthetic RAG evaluation set without building a benchmark that only tests your generator.

code editor displaying react source code AI and Machine Learning

Jev Models Explained: Faster Routing, Reranking, JSON

Jev-style decision models are non-autoregressive models for routing, reranking, and structured outputs. Here’s how they work, where they fail, and how to evaluate them like a builder.

a white dice with a black github logo on it Developer Tools

LLM Knowledge Base GitHub Template: Starter Kit Repo

Ship a forkable LLM knowledge base starter kit: a clean repo layout, ingestion scripts, GitHub Actions freshness checks, agent-readable templates, and retrieval evals that don’t rot.

a computer screen with a bunch of data on it AI and Machine Learning

RAG Evaluation Metrics for Retrieval Quality: My Production Playbook

If your RAG app got worse after an embeddings or chunking change, grading answers won’t tell you why. Here’s a retrieval-first eval workflow: recall@k, MRR, citation accuracy, leakage tests, and a frozen offline corpus so regressions are real—not vibes.

Browser search bar with medium suggestions AI and Machine Learning

LLM Knowledge Base Architecture: Wiki vs Notes vs RAG

A practical, vendor-neutral decision guide for wiki-style, notes-first, and RAG-first knowledge bases. Storage formats, chunking, ACL patterns, hybrid search, and a phased migration plan for agent-ready docs.

A MacBook with lines of code on its screen on a busy desk Cybersecurity

How to Implement Field-Level Redaction for RAG Pipelines

An auditor-friendly RAG privacy pattern: deterministic redaction, optional reversible tokenization, TTLs, deletion propagation, and a leakage test suite in CI.

Obsidian app markdown notes laptop screen — illustration for article on How to Upgrade Your LLM Developer Tools

How to Upgrade Your LLM Wiki: Sync, Search, Agent-Readable

The LLM wiki problem isn’t setup. It’s keeping it synced across devices, searchable at scale (BM25 + embeddings), and safe for agents to ingest without prompt injection.

A security and privacy dashboard with its status. AI and Machine Learning

RAG Data Leakage Test Suite: CI Red-Team Setup

Build an automated red-team suite for RAG apps: canary tokens, regex + similarity detectors, multi-step prompt-injection attacks, and a CI risk score that blocks risky merges.

a computer screen with a bunch of data on it Cloud and DevOps

How to Pick LLM Application Observability Metrics

Token logs are table stakes. Here’s the minimum set of LLM application observability metrics for tools, RAG, caching, refusals, and privacy-safe logging that actually debugs production incidents.

A close-up of a stack of papers. AI and Machine Learning

Data Privacy in RAG: Redaction, Retention and Audit Trails

A practical engineering playbook for data privacy in RAG: what to redact, where privacy leaks happen, default retention periods, and audit trails you can defend in an audit without wrecking debugging.

A security and privacy dashboard with its status. Cybersecurity

Prevent Sensitive Data Leakage in RAG: A 7-Step Playbook

RAG leaks rarely happen in the model. They happen in logs, traces, and vector stores. Here’s a practical playbook to ship redaction, least-context retrieval, and auditable controls end-to-end.

machine learning python code embeddings nlp screen — illustration for article on RAG Context Window Limits: AI and Machine Learning

RAG Context Window Limits: Why Bigger Is Not Better

Expanding your context window from 4K to 128K tokens doesn't fix RAG — it masks retrieval failures with coherent-sounding hallucinations. Here's the measurement framework to use instead.

Weaviate vs Chroma 2026: Production Power or Local-First Speed? AI and Machine Learning

Weaviate vs Chroma in 2026: RAG Database Pick

I'd pick Weaviate for any production RAG system serving more than a handful of users, and Chroma for rapid local prototyping where zero-config setup matters more than scale. The fault line isn't features — it's operational maturity versus developer ergonomics.

black laptop computer turned on on table AI and Machine Learning

Fine-Tuning vs RAG vs Prompt Engineering: Decision Framework

Stop guessing which LLM technique to use. A 2026-updated decision matrix with real cost figures, concrete examples, and a clear flowchart for when fine-tuning beats RAG, when RAG beats both, and when prompt engineering alone is the right answer.

pgvector vs Pinecone 2026: Which Vector DB Should You Actually Use? AI and Machine Learning

pgvector vs Pinecone 2026: Which Vector DB Should You Use?

pgvector wins for teams already on Postgres who want simplicity and cost control; Pinecone wins for production AI apps that need managed, millisecond-scale vector search at massive scale. Your infrastructure context is the deciding factor.

Milvus vs Qdrant 2026: Which Vector DB Wins for Production RAG? AI and Machine Learning

Milvus vs Qdrant: Which Vector DB for Production RAG?

Qdrant wins for lean, fast RAG deployments where simplicity and filtering speed matter most; Milvus wins for large-scale enterprise workloads demanding billion-vector search and deep ecosystem integrations. Your stack size and ops maturity should make this an easy call.

Pinecone vs Weaviate 2026: Which Vector DB Actually Wins? AI and Machine Learning

Pinecone vs Weaviate 2026 — Which Vector DB Fits Your Stack?

Pinecone wins for teams that need zero-ops managed infrastructure and fast time-to-production. Weaviate wins for teams that want open-source flexibility, hybrid search, and full data sovereignty.

LangChain vs LlamaIndex 2026: Which LLM Framework Should You Pick? AI and Machine Learning

LangChain vs LlamaIndex: Agents or RAG?

LangChain wins for building complex, multi-step AI agents and conversational workflows; LlamaIndex wins for production-grade RAG pipelines and data-heavy retrieval systems. Choose based on whether your app is agent-first or retrieval-first.

Qdrant vs Chroma 2026: Which Open-Source Vector DB Wins for RAG? AI and Machine Learning

Qdrant vs Chroma (ChromaDB): Choosing a Vector DB for RAG

Qdrant wins for production RAG at scale; Chroma wins for local prototyping and developer speed. Here's the full breakdown to help you choose the right vector database before you're locked in.

Computer screens displaying code with neon lighting. Technology

LLM Wiki Setup: Karpathy's Knowledge Base

The real setup process for Karpathy's LLM Wiki pattern, which agents work best, and where the pattern breaks down.

Keep exploring

Close to this topic, not on this page.