teechmeai.

RAG chatbot walkthrough: from PDFs to answers with citations

The full pipeline in one sitting: chunking, embeddings, pgvector and a grounded prompt.

teechmeai/llm-apps

Build with LLM APIs.

@teechmeai@teechmeai

Recording in production

The full written walkthrough is below. Get an email when the video goes live.

Chapters and walkthrough

  1. 00:00

    Architecture

    Ingest, chunk, embed, retrieve, generate, and where each can go wrong.

  2. 06:30

    Ingestion and chunking

    Extract PDF text and split on headings with a small overlap.

  3. 14:00

    Vector search

    Store embeddings in pgvector and query the nearest chunks.

  4. 22:10

    Grounded answers

    A prompt that cites sources and admits when it doesn't know.

  5. 29:00

    Evaluating

    A small question set to measure changes rather than guess.

More videos