AI MOOC
✦ Grow togetherInvite 3 friends, earn 1 month of membership · Up to 12 monthsInvite friends →

Library / My reading notes

Build a searchable, cited RAG knowledge base

Eight project chapters from source preparation to runnable Python retrieval, real local-model answers and 12 evaluation cases. Includes code, data and troubleshooting.

Completely free · 8 chapters

What you will deliver

Deliver a reproducible local experiment: versioned sources, executable code, retrieval report, per-case review and one before/after fix. Without a model run, label it a retrieval prototype.

Before you start

Create a folder and run terminal commands. Retrieval requires Python 3.10+, without a paid account. Real generation additionally needs Ollama and a model suited to your device. Start with manual work and retrieval.

Complete course plan

  1. 1. Define the task before choosing a stack

    Map the data flow and distinguish answerable, uncertain and out-of-scope questions.

  2. 2. Prepare sources with audience, conditions and versions

    Create traceable records and prevent stale versions and audience mismatches.

  3. 3. Chunk and index understandable evidence

    Understand chunking failures and the limits of the retrieval baseline.

  4. 4. Run retrieval and inspect the candidates

    Execute retrieval and distinguish filtering, recall, ranking and no results.

  5. 5. Assemble evidence, cite claims and state gaps

    Build reviewable context and output rules without mistaking citations for correctness.

  6. 6. Connect a real model and inspect failures

    Optionally execute real local generation and identify the stage reached.

  7. 7. Evaluate 12 cases with separate retrieval and answer checks

    Generate an observed report and identify failure layers without inflated accuracy claims.

  8. 8. Update, package and reproduce the result

    Complete an update experiment and deliver a reproducible package.

All chapters and exercises are free. Reading or self-checks do not automatically award independent certification.

References and further reading

The lessons are original. The following sources are provided under their respective permissions.

Article / guide

Prompt Engineering Guide

DAIR.AI · en/zh

MIT

License checked. This entry links to the original; the book text is not mirrored.

License checked: 2026-10-16 · Pinned 57673726
Article / guide

RAG and Vector Databases

Microsoft · en/zh

MIT

License checked. This entry links to the original; the book text is not mirrored.

License checked: 2026-10-16 · Pinned d45da912
Whitepaper / report

NIST AI 600-1: Generative AI Profile

NIST / Autio et al. · en

NIST Technical Series reprint policy

Original PDF provided under the institution’s reprint policy.

License checked: 2026-10-16
Article / guide

Ollama Chat API

Ollama · en

Official documentation link; no full-text reproduction

Original link only; full text is not mirrored.

License checked: 2026-10-20

Turn your practice into a verifiable project description

Collect your retrieved passages, citations, evaluation and failures. Use original templates to describe your contribution and limits, labeling a learning prototype honestly.

RAG project resume: evidence checklist and templates