---
title: "RAG & retrieval (medium)"
description: "Retrieval-augmented generation, chunking, embeddings for retrieval"
url: "https://swe.quest/tags/rag?difficulty=medium"
---

# RAG & retrieval (medium)

Topic in AI & ML: Retrieval-augmented generation, chunking, embeddings for retrieval

By difficulty: [Easy](https://swe.quest/tags/rag.md?difficulty=easy) · [Medium](https://swe.quest/tags/rag.md?difficulty=medium) · [Hard](https://swe.quest/tags/rag.md?difficulty=hard)

Posts 1–24 of 86, page 1 of 4, newest first.

## 2026-11-25

- [Introducing Search for Agents](https://swe.quest/articles/introducing-search-for-agents-37be0b6470822ab9.md): Cloudflare · 2026-11-25 · Medium · 6 min read · AI agents, Search, RAG & retrieval, CDN & edge
  Search for Agents is a one-toggle Cloudflare zone feature that automatically creates an AI Search instance, crawls and indexes the site, and exposes a search endpoint at /.well-known/search on the customer's own domain.
- [An Indic Voice Agent with CUGA](https://swe.quest/articles/an-indic-voice-agent-with-cuga-b60b8846e88ea62b.md): Hugging Face · 2026-11-25 · Medium · 7 min read · RAG & retrieval, AI agents, Speech & audio, LLMs
  A voice-first farm assistant answers spoken questions in Hindi, Tamil and other Indic languages from a 154-page English agricultural handbook, using IBM's open-source CUGA harness as a text-in, text-out core wrapped by swappable speech-to-text and text-to-speech layers (Sarvam AI in the browser, or self-hosted SraVaani and Svara).

## 2026-11-12

- [Inside an enterprise AI agent: A governed, observable loop architecture](https://swe.quest/articles/inside-an-enterprise-ai-agent-a-governed-observable-loop-architecture-3ec28e31cea77465.md): AWS Architecture Blog · 2026-11-12 · Medium · 20 min read · AI agents, System design, Cloud platforms, RAG & retrieval, Observability
  A reference architecture for enterprise AI agents on AWS organizes the system into five layers: an API gateway enforcing identity and policy, a five-phase agent runtime (Understand, Plan, Retrieve, Reason, Act and Observe), a knowledge and state tier, platform services for models and tools, and a cross-cutting trust and control framework.

## 2026-11-10

- [Context Engineering (Agent Memory) for AI Agents Starts with Retrieval](https://swe.quest/articles/context-engineering-agent-memory-for-ai-agents-starts-with-retrieval-4b7268c3138eae87.md): LangChain · 2026-11-10 · Medium · 11 min read · AI agents, RAG & retrieval, LLMs, Vector search
  Agent retrieval fails in three ways: inefficient searching, too much context at once, and irrelevant or stale context.

## 2026-11-09

- [Transforming fleet analytics for Novus Hi-Tech through agentic AI](https://swe.quest/articles/transforming-fleet-analytics-for-novus-hi-tech-through-agentic-ai-944a2e4d2d240695.md): AWS Architecture Blog · 2026-11-09 · Medium · 11 min read · AI agents, RAG & retrieval, Cloud platforms, Multi-tenancy, Speech & audio
  Novus Hi-Tech and AWS built FleetGPT, a multi-agent system on Strands Agents that replaces fixed fleet dashboards with natural-language querying and automates driver safety interventions.

## 2026-10-28

- [How to build evidence-grounded agent memory with OpenWiki and Graphs](https://swe.quest/articles/how-to-build-evidence-grounded-agent-memory-with-openwiki-and-graphs-4ca8c5cc48ba2f30.md): LangChain · 2026-10-28 · Medium · 8 min read · AI agents, RAG & retrieval, Evaluation, LLMs
  A compiled, source-linked wiki (OpenWiki) used as agent memory raised accuracy on cross-document questions from 0.10 to 0.52 versus keyword search alone on a synthetic 111-document insurance corpus scored against a 972-fact ledger, and cut cost per correct answer from about $0.55 to $0.19.

## 2026-10-19

- [From Static Help Content to a RAG-Based Onboarding Agent for Partners](https://swe.quest/articles/from-static-help-content-to-a-rag-based-onboarding-agent-for-partners-c0de8cedba3db499.md): Booking.com Data Science · 2026-10-19 · Medium · 9 min read · RAG & retrieval, AI agents, Evaluation, LLMs
  Booking.com's registration-flow chatbot for self-managed partners gave weak answers even though retrieval surfaced the right documents, and the cause turned out to be upstream data quality rather than the model.

## 2026-10-16

- ["I'm Sorry, Have We Met?" — Frictionless Memory for AI](https://swe.quest/articles/i-m-sorry-have-we-met-frictionless-memory-for-ai-e2b06b8840d066bb.md): trivago tech · 2026-10-16 · Medium · 11 min read · LLMs, AI agents, RAG & retrieval, Search, Vector search
  LLM APIs are stateless, so conversational memory must be built in the application layer, and the right design depends on scale.

## 2026-10-11

- [Automating Data Ingestion with a RAG Flywheel](https://swe.quest/articles/automating-data-ingestion-with-a-rag-flywheel-a00e5b0ced1109c4.md): Zalando Engineering · 2026-10-11 · Medium · 13 min read · RAG & retrieval, LLMs, Vector search, PostgreSQL, Data pipelines
  Zalando's Supply Operations automates mapping of diverse supplier spreadsheet headers (10-60 columns) onto a 55+ column internal schema using an LLM-driven RAG flywheel that learns from human-approved mappings.

## 2026-10-02

- [Generate embeddings with Neon AI Gateway](https://swe.quest/articles/generate-embeddings-with-neon-ai-gateway-8da1f214a3b9e4fc.md): Neon · 2026-10-02 · Medium · 7 min read · RAG & retrieval, Vector search, PostgreSQL, LLMs
  Neon AI Gateway now serves embedding models on its OpenAI-compatible /v1/embeddings endpoint using the same branch-scoped credential as chat, accepting up to 150 inputs per request.

## 2026-09-30

- [Lakebase Search: the retrieval primitive for agents on Neon](https://swe.quest/articles/lakebase-search-the-retrieval-primitive-for-agents-on-neon-08857239ea4fff67.md): Neon · 2026-09-30 · Medium · 6 min read · Vector search, PostgreSQL, Search, RAG & retrieval, AI agents
  Lakebase Search adds vector and BM25 search to Lakebase Postgres through two extensions, lakebase\_vector and lakebase\_text, so agents can query operational data without a separate search system. lakebase\_vector keeps its durable index in object storage, caches hot pages in NVMe and RAM, and combines hierarchical IVF with RaBitQ quantization.

## 2026-09-11

- [AI Functions in ClickHouse: Upgrade your SQL to the AI age](https://swe.quest/articles/ai-functions-in-clickhouse-upgrade-your-sql-to-the-ai-age-11cec6552950f306.md): ClickHouse · 2026-09-11 · Medium · 12 min read · LLMs, SQL, RAG & retrieval, Analytics & OLAP, Cost optimization
  ClickHouse's beta AI Functions call LLM and embedding providers directly from SQL.

## 2026-09-03

- [Give Your Coding Agents a Memory You Own](https://swe.quest/articles/give-your-coding-agents-a-memory-you-own-a4b8ff1b9b62d4a5.md): Hugging Face · 2026-09-03 · Medium · 9 min read · AI agents, AI for coding, RAG & retrieval, Search, Developer tools
  funes is an open-source, single-binary memory layer that indexes the session traces of coding agents (Claude Code, Codex, pi, Hermes) so any agent can recall past decisions and rationale with exact provenance.

## 2026-09-02

- [An Organizational Second Brain: Building an AI That Learns From Experts](https://swe.quest/articles/an-organizational-second-brain-building-an-ai-that-learns-from-experts-39ccb4da4e5586dc.md): Meta Engineering · 2026-09-02 · Medium · 13 min read · AI agents, LLMs, RAG & retrieval, Evaluation, System design
  Meta built a domain-expert AI agent for a compliance domain that separates declarative knowledge files (positions, taxonomies, routing indexes, gateway tests with YAML dependency graphs) from imperative composable "recipes" that encode expert reasoning workflows.

## 2026-08-26

- [Why We Rebuilt LangChain’s Chatbot and What We Learned](https://swe.quest/articles/why-we-rebuilt-langchain-s-chatbot-and-what-we-learned-903a9865b6131c52.md): LangChain · 2026-08-26 · Medium · 15 min read · AI agents, RAG & retrieval, LLMs, Documentation
  LangChain replaced chat.langchain.com's chunk-and-embed vector retrieval with tool-calling agents that search structured sources directly: full doc pages via Mintlify's API, a scan-titles-then-read pattern over the Pylon knowledge base, and ripgrep/tree/file-read tools over the codebase.
- [Training and Finetuning Multi-Vector Embedding Models with Sentence Transformers](https://swe.quest/articles/training-and-finetuning-multi-vector-embedding-models-with-sentence-transformers-454449569f0d4793.md): Hugging Face · 2026-08-26 · Medium · 27 min read · Model training, Search, Python, RAG & retrieval
  Sentence Transformers v6.0 adds a MultiVectorEncoder model type for ColBERT-style late-interaction retrieval, with a full training stack covering models, datasets, losses, training arguments, evaluators and the trainer.

## 2026-08-18

- [How Much Memory Does Your Agent Actually Need?](https://swe.quest/articles/how-much-memory-does-your-agent-actually-need-90fd1750802569c1.md): Hugging Face · 2026-08-18 · Medium · 9 min read · AI agents, Evaluation, LLMs, RAG & retrieval
  The right amount of self-distilled agent memory depends on model capability: on AppWorld across eight models, strong models with headroom gain most from injecting the full guideline set (DeepSeek-V3.2 +9.5pp TGC, +16.1pp SGC), weaker models do best with a compact high-confidence core plus per-task retrieved guidelines (gpt-oss-120b +16.1pp TGC), and saturated models like GLM-5 show no gain.
- [Multi-Vector (Late Interaction) Embedding Models with Sentence Transformers](https://swe.quest/articles/multi-vector-late-interaction-embedding-models-with-sentence-transformers-8580846e619b61eb.md): Hugging Face · 2026-08-18 · Medium · 39 min read · Search, Vector search, Python, RAG & retrieval
  Sentence Transformers v6.0 adds MultiVectorEncoder, a fourth model type for ColBERT-style late-interaction retrieval that loads PyLate, Stanford-NLP ColBERT and (with added config) colpali-engine checkpoints.

## 2026-08-11

- [How we selected the next vector database at Booking.com](https://swe.quest/articles/how-we-selected-the-next-vector-database-at-booking-com-464edc602538488f.md): Booking.com Data Science · 2026-08-11 · Medium · 8 min read · Vector search, Performance engineering, RAG & retrieval, ML platforms, Cost optimization
  Booking.com replaced its OpenSearch-backed internal Embedding Service with Weaviate after running its own production-shaped benchmark instead of trusting public comparisons.

## 2026-07-30

- [CommSync Runs Text, Vector, and Hybrid Search on Postgres with Lakebase Search](https://swe.quest/articles/commsync-runs-text-vector-and-hybrid-search-on-postgres-with-lakebase-search-8b687b59899ef5ac.md): Neon · 2026-07-30 · Medium · 5 min read · Search, PostgreSQL, Vector search, RAG & retrieval
  CommSync, a unified SMS/email inbox, runs keyword, semantic and hybrid search entirely in Postgres using Neon's Lakebase Search extensions. lakebase\_text provides BM25 search with top-K pushdown over tsvector, and lakebase\_vector is a pgvector-compatible drop-in with an ANN index.

## 2026-07-15

- [Building a Retrieval Pipeline with Turso and Voyage AI](https://swe.quest/articles/building-a-retrieval-pipeline-with-turso-and-voyage-ai-d56063c4fe3f313b.md): Turso · 2026-07-15 · Medium · 10 min read · RAG & retrieval, Vector search, SQLite, AI agents, LLMs
  Turso's SQLite-compatible engine with native vector columns, paired with Voyage AI embedding and reranking models, replaces a multi-service RAG stack with a single embeddable database for agent retrieval and memory.

## 2026-05-27

- [Beyond the Menu Tree: How Yelp Built a Smarter Customer Success Chatbot with AI](https://swe.quest/articles/beyond-the-menu-tree-how-yelp-built-a-smarter-customer-success-chatbot-with-ai-ff3ace4643697f19.md): Yelp Engineering · 2026-05-27 · Medium · 7 min read · RAG & retrieval, LLMs, Vector search, System design
  Yelp replaced a menu-tree and fixed-phrase customer support chatbot with an LLM system.

## 2026-05-14

- [Granite Embedding Multilingual R2: Open Apache 2.0 Multilingual Embeddings with 32K Context — Best Sub-100M Retrieval Quality](https://swe.quest/articles/granite-embedding-multilingual-r2-open-apache-2-0-multilingual-embeddings-with-3523dab9fcdbdf6c.md): Hugging Face · 2026-05-14 · Medium · 16 min read · RAG & retrieval, Machine learning, Model training, Evaluation, Search
  IBM's Granite Embedding Multilingual R2 is a pair of Apache 2.0 ModernBERT-based embedding models covering 200+ languages and 9 programming languages, with 32K-token context (64x R1).

## 2026-05-08

- [Why coding agents fail in large codebases (and what to do about it)](https://swe.quest/articles/why-coding-agents-fail-in-large-codebases-and-what-to-do-about-it-67302cc99ae40bda.md): Sourcegraph · 2026-05-08 · Medium · 8 min read · AI for coding, AI agents, Search, Evaluation, RAG & retrieval
  Across 1,281 scored agent runs on 40+ large open-source repos (CodeScaleBench), coding agents fail in five repeatable ways: getting lost in exploration, picking the wrong file or symbol, partial completion, tool thrashing, and context overflow.

[Next page](https://swe.quest/tags/rag.md?difficulty=medium&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=rag](https://swe.quest/feed.xml?difficulty=medium&tag=rag). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
