AdvancedAbout 18 min

    Advanced RAG

    Read the full article on Substack

    7 min read.

    Toggle retrieval upgrades and watch the right chunk climb, fuse keyword + vector search with RRF, funnel candidates through a cross-encoder re-ranker, and transform vague queries (rewrite, HyDE, multi-query).

    Top chunks for “refund window?”
    1. 1Sign up for a 30-day free trial today!Distractor
    2. 2Refunds are issued in 5–7 business days.
    3. 3Refunds can be requested within 30 days.Answer
    4. 4Overseas shipping can take up to 30 days.Distractor

    The answer is ranked #3. Retrieval quality 50/100. Try re-ranking.

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    Where does each technique run?

    Sort

    Sort each RAG upgrade by the stage it belongs to.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Before retrieval

    Drop items here

    After retrieval

    Drop items here
    6 pieces left to place

    Quiz

    20 questions
    Question 1 of 20
    Score: 0

    What does hybrid search combine?

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going