Generative AI

RAG & Vector Search

Step-by-step articles on RAG & Vector Search, part of our Generative AI collection.

  • 10 articles
  • 13 min of reading
  • 2 sub-topics
  • 09 Oct, 2026 last updated

Showing 10 articles

RAG & Vector Search 1 min read

Vector Search in PostgreSQL with pgvector

You don't always need a separate vector database. The pgvector extension adds a vector type, distance operators and approximate indexes to PostgreSQL, so embeddings live next to the rest of your data. Set up the table CREATE EXTENSION IF NOT EXISTS vector; CRE...

16 Aug, 2026 Author 1.41K 56
Read article
RAG & Vector Search 1 min read

Adding Citations to RAG Answers

Users trust an answer more when they can click through to the source. Citations also make hallucinations easy to spot: an unsupported claim has nothing to point at. Option 1: Ask for chunk IDs Answer the question using only the sources below. After each senten...

23 Jun, 2026 Author 1.13K 65
Read article
RAG & Vector Search 1 min read

How to Evaluate a RAG Pipeline

Without evaluation, every change to chunking, embeddings or prompts is a guess. A small labelled dataset turns RAG tuning into engineering. 1. Build an evaluation set Collect 50-200 real questions from logs, support tickets or users. For each, record the ID(s)...

05 Jun, 2026 Author 541 68
Read article