Core AI

RAG & Vector Search

Retrieval-augmented generation, vector databases, embeddings and semantic search

4,932
lessons
Skills in this topic
View full skill map →
RAG Basics
beginner
Chunk documents with LangChain or LlamaIndex
Vector Stores
intermediate
Set up Pinecone, Weaviate, or pgvector
RAG Evaluation
intermediate
Run RAGAS evaluation on a RAG pipeline
Advanced RAG
advanced
Build a hybrid BM25 + dense retrieval pipeline
All Reads (1,467) Articles (784)Blog Posts (531)Tutorials (101)Research Papers (49)News (2)
Making RAG Accurate in Python
Dev.to · Puneet Gupta 🔍 RAG & Vector Search ⚡ AI Lesson 2d ago
Making RAG Accurate in Python
Improving retrieval quality beyond cosine top-k: hybrid dense+BM25 search with Reciprocal Rank Fusion, metadata filtering, chunking strategy, and measuring reca
Making RAG Accurate in Java
Dev.to · Puneet Gupta 🔍 RAG & Vector Search ⚡ AI Lesson 2d ago
Making RAG Accurate in Java
Improving retrieval quality beyond cosine top-k: hybrid dense+BM25 search with Reciprocal Rank Fusion, metadata filtering, chunking strategy, and measuring reca
RAG From Scratch in Python
Dev.to · Puneet Gupta 🔍 RAG & Vector Search ⚡ AI Lesson 2d ago
RAG From Scratch in Python
Building retrieval-augmented generation from first principles in Python: chunking, embeddings, a hand-rolled cosine-similarity vector search, reranking, and whe
n8n Question and Answer Chain Node: Build Retrieval-Augmented Workflows with Any Document [Free Workflow JSON]
Dev.to · Pirate Prentice 🔍 RAG & Vector Search ⚡ AI Lesson 3d ago
n8n Question and Answer Chain Node: Build Retrieval-Augmented Workflows with Any Document [Free Workflow JSON]
The Question and Answer Chain node is n8n's built-in RAG (Retrieval-Augmented Generation) node. You...
A RAG evaluator that admits what it can't judge
Dev.to · Melissa D. Ellison 🔍 RAG & Vector Search ⚡ AI Lesson 5d ago
A RAG evaluator that admits what it can't judge
Fail-closed groundedness, deterministic corroborators, and a self-test — because an evaluator should...
Practical RAG, Part 1: The Simplest RAG That Actually Works
Dev.to · Suman Nath 🔍 RAG & Vector Search ⚡ AI Lesson 5d ago
Practical RAG, Part 1: The Simplest RAG That Actually Works
Build a working Retrieval-Augmented Generation pipeline from scratch in ~40 lines of Python — then see exactly where it breaks. Part 1 of a hands-on series.
I Built a Biomedical RAG System, and a 40-Year-Old Algorithm Beat My Vector Database
Dev.to · Oluwagbade Odimayo 🔍 RAG & Vector Search ⚡ AI Lesson 5d ago
I Built a Biomedical RAG System, and a 40-Year-Old Algorithm Beat My Vector Database
A hands-on walkthrough of a retrieval-augmented QA pipeline over PubMed abstracts, the evaluation...
What is RAG ? | Completely Explained in 10 Minutes | Hindi
Dev.to · Kunal Garg 🔍 RAG & Vector Search ⚡ AI Lesson 5d ago
What is RAG ? | Completely Explained in 10 Minutes | Hindi
Hearing "RAG" everywhere in AI but not 100% sure how it works? 🤔 I just put together a quick...
AutoRAG vs RAGBuilder vs Red Hat AutoRAG: Which RAG Pipeline Wins on YOUR Data (and Their Shared OCR Blind Spot)
Dev.to · Ahmet Özel 🔍 RAG & Vector Search ⚡ AI Lesson 5d ago
AutoRAG vs RAGBuilder vs Red Hat AutoRAG: Which RAG Pipeline Wins on YOUR Data (and Their Shared OCR Blind Spot)
Want to build an AI assistant that talks to your company documents? First you need to answer one...
How to Debug RAG Hallucinations: Building Semantic Observability for Production AI
Dev.to · ping wang 🔍 RAG & Vector Search ⚡ AI Lesson 6d ago
How to Debug RAG Hallucinations: Building Semantic Observability for Production AI
Learn how to build semantic observability for production RAG systems to catch hallucinations and irrelevant responses before users notice.
Your RAG Pipeline Hallucinates Because It Never Checks Its Own Work
Dev.to · Austin Vance 🔍 RAG & Vector Search ⚡ AI Lesson 6d ago
Your RAG Pipeline Hallucinates Because It Never Checks Its Own Work
Build a corrective RAG pipeline with LangGraph that grades retrieval quality, rewrites bad queries, and generates cited answers.
Semantic Observability: Engineering Reliability for Production RAG
Dev.to · Dumebi Okolo 🔍 RAG & Vector Search ⚡ AI Lesson 6d ago
Semantic Observability: Engineering Reliability for Production RAG
It is a noticeable thing when a microservice fails. It is either a null pointer exception in a Java...
Stale RAG vs. expensive RAG: how to cache RAG context without serving outdated answers
Dev.to · Vectorlink Labs 🔍 RAG & Vector Search ⚡ AI Lesson 6d ago
Stale RAG vs. expensive RAG: how to cache RAG context without serving outdated answers
If you run a RAG system in production, you eventually hit a dilemma that has nothing to do with your...
Why vector-only RAG is weak for coding agents
Dev.to · lorismascio17 🔍 RAG & Vector Search ⚡ AI Lesson 6d ago
Why vector-only RAG is weak for coding agents
Building Droste: a local structural + semantic code-memory engine for MCP agents AI coding agents...
RAG Is Not a Feature. It's a System, and These Are the Parts Nobody Demos.
Dev.to · Marketing wizr 🔍 RAG & Vector Search ⚡ AI Lesson 6d ago
RAG Is Not a Feature. It's a System, and These Are the Parts Nobody Demos.
Retrieval-Augmented Generation demos beautifully. Embed your documents, run a similarity search, drop...
Why Your RAG System Needs Hybrid Search (And How to Actually Implement It)
Dev.to · AlaiKrm 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
Why Your RAG System Needs Hybrid Search (And How to Actually Implement It)
Vector similarity search is powerful but it has a well-known weakness: exact term matching. If a user...
RAG Is Dead. Context Engineering Is the Future.
Dev.to · Yash Sonawane 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
RAG Is Dead. Context Engineering Is the Future.
For the last year, everyone has been talking about one architecture. RAG. Retrieval-Augmented...
Building a RAG System from Scratch — MCP: Exposing pgvector as a Reusable Tool Server
Dev.to · Hiroki Kameyama 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
Building a RAG System from Scratch — MCP: Exposing pgvector as a Reusable Tool Server
In the previous article, we built AI Agents that autonomously search our pgvector database. One...
Building a RAG System from Scratch with pgvector and Gemini — Implementation
Dev.to · Hiroki Kameyama 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
Building a RAG System from Scratch with pgvector and Gemini — Implementation
In the previous article, we covered the three core concepts behind RAG. Now let's build it. By the...
I Got Tired of Debugging Haystack RAG Pipelines Blind, So I Built a Diagnostics Engine
Dev.to · Aditya Raut 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
I Got Tired of Debugging Haystack RAG Pipelines Blind, So I Built a Diagnostics Engine
RAG pipelines fail in quiet ways. Retrieval drops. Documents go missing. Metadata gets corrupted...
RAG in 2026: Why Retrieval, Not the Model, Is the Bottleneck
Dev.to · sagar jain 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
RAG in 2026: Why Retrieval, Not the Model, Is the Bottleneck
If your RAG gives wrong answers, the model is rarely the problem-retrieval handed it the wrong context. Why retrieval is the real 2026 bottleneck.
Build a Simple RAG App with Telnyx AI Inference
Dev.to · Sonam 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
Build a Simple RAG App with Telnyx AI Inference
RAG is one of those patterns that sounds more complicated than it has to be. At its core,...
RAG Is Not a Chatbot Feature. It Is Production AI Infrastructure.
Dev.to · Rajiv Gupta 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
RAG Is Not a Chatbot Feature. It Is Production AI Infrastructure.
Most enterprise RAG failures are not model failures. They are infrastructure failures. The demo...
I Let My AI Agent Build a Bedrock RAG Knowledge Base, Here Are the 2 Mistakes the AWS Agent Toolkit Caught
Dev.to · Saurabh "Rob" Dahal 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
I Let My AI Agent Build a Bedrock RAG Knowledge Base, Here Are the 2 Mistakes the AWS Agent Toolkit Caught
Provisioning a Bedrock RAG knowledge base with S3 Vectors, without the hallucinated API calls. If...
DSPy Reliability, RAG/Agentic AI Patterns, & Parallel Agent Orchestration
Dev.to · soy 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
DSPy Reliability, RAG/Agentic AI Patterns, & Parallel Agent Orchestration
DSPy Reliability, RAG/Agentic AI Patterns, & Parallel Agent Orchestration ...
Choosing a Vector Database in 2026: pgvector vs. Pinecone vs. Qdrant vs. Weaviate vs. Milvus
Dev.to · Arya Koste 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
Choosing a Vector Database in 2026: pgvector vs. Pinecone vs. Qdrant vs. Weaviate vs. Milvus
Every RAG tutorial pulls the same move. It walks you through embeddings, chunking, retrieval, and...
My eval harness paid for itself on the first run: 0.57 0.96, two bugs no unit test could catch
Dev.to · David El Malih 🔍 RAG & Vector Search ⚡ AI Lesson 1w ago
My eval harness paid for itself on the first run: 0.57 0.96, two bugs no unit test could catch
I almost shipped a RAG pipeline that, on certain questions, cited exactly the right document — and...
I added a reranker to my RAG pipeline — it broke everything, then I fixed it
Dev.to · Santanu Mohanta 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
I added a reranker to my RAG pipeline — it broke everything, then I fixed it
In v2 I added hybrid retrieval (FAISS + BM25) to fix keyword blindspots. All 19 test questions...
Stop Sending the Raw User Prompt Straight to Your Retriever
Dev.to · mofuteq 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Stop Sending the Raw User Prompt Straight to Your Retriever
A user types a question into your RAG system. Before anything is retrieved, something decides what...
I built research - Document 04 ? RAG and Knowledge Retrieval in 2 months. Zero cloud. Zero compromise.
Dev.to · Lois-Kleinner 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
I built research - Document 04 ? RAG and Knowledge Retrieval in 2 months. Zero cloud. Zero compromise.
**research - Document 04 ? RAG and Knowledge Retrieval** --- ## The Problem This document presents the design and evaluation of the Retrieval-Augmented Generati
Phase 1: Document Ingestion - The Hidden Complexity Before Embeddings
Dev.to · surajrkhonde 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Phase 1: Document Ingestion - The Hidden Complexity Before Embeddings
The Complete Story: Why Most RAG Systems Fail Before They Start The Story...
Why My RAG App Kept Hallucinating (and How I Fixed It)
Dev.to · Pallavi Sharma 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Why My RAG App Kept Hallucinating (and How I Fixed It)
A few months ago I was demoing my RAG-powered support bot to a colleague, feeling pretty confident...
Agentic RAG: Designing Self-Correcting Retrieval Loops for Production
Dev.to · Alok Ranjan Daftuar 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Agentic RAG: Designing Self-Correcting Retrieval Loops for Production
Standard RAG retrieves once and hopes for the best. Agentic RAG retrieves, reflects, decides it was...
Why Your RAG System Keeps Hallucinating: The Hidden Cost of Skipping Fundamentals
Dev.to · xu xu 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Why Your RAG System Keeps Hallucinating: The Hidden Cost of Skipping Fundamentals
The chunk size forum thread is 47 replies long. Everyone's arguing about 512 vs 1024 tokens, hybrid...
Building a RAG System With Chinese AI Models: Complete Tutorial
Dev.to · Mattias chaw 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Building a RAG System With Chinese AI Models: Complete Tutorial
Building a RAG System With Chinese AI Models Retrieval-Augmented Generation (RAG) is the...
Knowledge Graphs: The Missing Piece in Most RAG Systems
Dev.to · Vishwajeet Kondi 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Knowledge Graphs: The Missing Piece in Most RAG Systems
If you've been exploring AI agents recently, chances are you've come across RAG (Retrieval-Augmented...
I built a code Q&A bot with RAG – what worked and what failed
Dev.to · zhongqiyue 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
I built a code Q&A bot with RAG – what worked and what failed
A few months ago, our team had a problem: every new developer spent days digging through scattered...
Choosing a Vector Database in 2026: pgvector vs Pinecone vs Qdrant vs Weaviate
Dev.to · DatanestDigital 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Choosing a Vector Database in 2026: pgvector vs Pinecone vs Qdrant vs Weaviate
A practical comparison of the main vector database options for RAG and semantic search — pgvector, Pinecone, Qdrant, and Weaviate — with the trade-offs that act
RAG Pipeline: The Uncle-Nephew Complete Learning Guide
Dev.to · surajrkhonde 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
RAG Pipeline: The Uncle-Nephew Complete Learning Guide
How to Build Systems That Actually Know Your Data (Not Hallucinate About It) ...
Building TraceroAI: A Better Way to Debug RAG Applications
Dev.to · Chinmai Sd 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Building TraceroAI: A Better Way to Debug RAG Applications
Over the last few months, I've spent a lot of time building RAG applications and experimenting with...
Self-RAG: Let the Model Decide When to Retrieve, Then Grade Itself
Dev.to · Devanshu Biswas 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Self-RAG: Let the Model Decide When to Retrieve, Then Grade Itself
Plain RAG retrieves for every query — even "what's 17×23?" that needs no documents. Self-RAG makes...
How Japan’s Research Labs Are Building RAG Systems That Actually Work — And What Western Teams Keep Getting Wrong
Dev.to · xu xu 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
How Japan’s Research Labs Are Building RAG Systems That Actually Work — And What Western Teams Keep Getting Wrong
Your vector database is returning relevant chunks. Your embedding model scores 0.89 on retrieval...
How to Build a RAG Pipeline for an Enterprise Knowledge Base That Actually Works in Production
Dev.to · Open Craft 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
How to Build a RAG Pipeline for an Enterprise Knowledge Base That Actually Works in Production
Retrieval-Augmented Generation (RAG) — a pattern where a language model answers questions by first pulling relevant document chunks from a search inde
Top Data APIs for Building RAG Pipelines That Need Real-World Coverage
Dev.to · Khola Henry 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Top Data APIs for Building RAG Pipelines That Need Real-World Coverage
Most teams building RAG applications spend the majority of their time on the generation side — prompt...
Your RAG Retrieved the Right Documents but Still Gave the Wrong Answer
Dev.to · mofuteq 🔍 RAG & Vector Search ⚡ AI Lesson 2w ago
Your RAG Retrieved the Right Documents but Still Gave the Wrong Answer
Your retriever returned the right documents. The similarity scores look fine. The answer is still...
HyDE: The RAG Trick Where You Answer the Question BEFORE You Search
Dev.to · Devanshu Biswas 🔍 RAG & Vector Search ⚡ AI Lesson 3w ago
HyDE: The RAG Trick Where You Answer the Question BEFORE You Search
Here's a counterintuitive RAG trick: to find the right document, answer the question first — then...
How I added semantic search to a resume matcher — and what the numbers showed
Dev.to · Azeez Roheem 🔍 RAG & Vector Search ⚡ AI Lesson 3w ago
How I added semantic search to a resume matcher — and what the numbers showed
Building a RAG pipeline with pgvector, text-embedding-3-small, and Neon into a production Next.js SaaS — the numbers, the tradeoffs, the code
Build a RAG Pipeline for Internal Runbooks with FastAPI and Chroma
Dev.to · Nerav Doshi 🔍 RAG & Vector Search ⚡ AI Lesson 3w ago
Build a RAG Pipeline for Internal Runbooks with FastAPI and Chroma
Pipeline & Prompts | Byte size guides on DevOps, Cloud and AI AI in the Stack #2 ⚡...