← All Learning Paths

RAG Engineer

Build retrieval-augmented generation systems: chunking, embeddings, vector stores, schema-constrained output, evaluation, and semantic caching.

roleintermediate8 nodes12.5h total

Path overview

This path is generated from the curated resource graph.

  1. Compare "Split on Structure First" with "Choosing Size and Overlap" in "Chunking Strategies for Embedding Pipelines" and state which trade-off you would accept in rag engineer code.

    Completion criteria: Record a short walkthrough of "Chunking Strategies for Embedding Pipelines" with timestamps at "Split on Structure First" and "Choosing Size and Overlap", plus the commit that applies it.

    Next step: Storing and Querying Embeddings with pgvector

    ⏱ 1h

  2. Read "Storing and Querying Embeddings with pgvector" for the "Why Keep Vectors Next to Your Data" argument, then name the decision in rag engineer work it would change.

    Completion criteria: Attach a one-page summary that quotes "Why Keep Vectors Next to Your Data", lists two trade-offs, and links the commit where you applied it.

    Next step: Building a RAG Pipeline with Vector Search

    ⏱ 1h

  3. Reconstruct the reasoning behind "Building a RAG Pipeline with Vector Search" by tracing "Why Retrieval Beats a Bigger Model" to the failure it prevents in rag engineer systems.

    Completion criteria: Record a short walkthrough of "Building a RAG Pipeline with Vector Search" with timestamps at "Why Retrieval Beats a Bigger Model" and "Chunking the Corpus Before Embedding", plus the commit that applies it.

    Next step: Enforcing JSON Schemas on LLM Output

    ⏱ 1h

  4. Read "Enforcing JSON Schemas on LLM Output" for the "Specifying the Schema in the Prompt" argument, then name the decision in rag engineer work it would change.

    Prerequisites: Building a RAG Pipeline with Vector Search

    Completion criteria: Write a five-line decision note citing "Specifying the Schema in the Prompt" from "Enforcing JSON Schemas on LLM Output", name the option you rejected, and attach the before/after diff of one file you changed.

    Next step: Evaluating LLM Applications with Golden Datasets

    ⏱ 1h

  5. Compare "Building a Golden Dataset" with "Choosing Metrics That Match the Task" in "Evaluating LLM Applications with Golden Datasets" and state which trade-off you would accept in rag engineer code.

    Prerequisites: Enforcing JSON Schemas on LLM Output

    Completion criteria: Attach a one-page summary that quotes "Building a Golden Dataset", lists two trade-offs, and links the commit where you applied it.

    Next step: Caching LLM Responses with Semantic Keys

    ⏱ 1h

  6. Read "Caching LLM Responses with Semantic Keys" for the "Choosing the Similarity Threshold" argument, then name the decision in rag engineer work it would change.

    Completion criteria: Write a five-line decision note citing "Choosing the Similarity Threshold" from "Caching LLM Responses with Semantic Keys", name the option you rejected, and attach the before/after diff of one file you changed.

    Next step: Rank Documents by Cosine Similarity

    ⏱ 1h

  7. In the "RAG Engineer" path, implement "Rank Documents by Cosine Similarity" so JSON object: { query: number[], docs: [{ id, vector: number[] }], k: yields [{id:d1,score:1},{id:d3,score:0.9939}], including the second sample's edge case.

    Completion criteria: Show the test run for "Rank Documents by Cosine Similarity" with two passing samples and one deliberately failing input, with the expected error.

    Next step: Build a Vector Embedding Store

    ⏱ 0.5h

  8. Deliver the "Build a Vector Embedding Store" blueprint with "Insert pipeline" working and "Search reranking" recorded as evidence.

    Prerequisites: Rank Documents by Cosine Similarity

    Completion criteria: Run the project's test command for "Build a Vector Embedding Store", paste the passing output, and attach the acceptance note for "Insert pipeline" with the test name.

    Next step: Apply this path in a capstone project and review the related resources.

    ⏱ 3h