Who it is for
For developers with Python and basic LLM knowledge who want to build knowledge-based question answering.
What you can learn
Explore the roles of retrieval and generation, then study text chunking, vector indexing, hybrid retrieval and system evaluation, with practical chapters.
Try it first
Choose public documents and prepare five evidence-based questions plus one unanswerable question. Record retrieved passages and check relevance and answer support separately.
Free access and conditions
The opening chapter is free to read in Chinese and English without signing in; English coverage is partial. The source is optimistic about retrieval accuracy and privacy: RAG cannot guarantee correct answers, and a local knowledge base alone does not eliminate risks from external model calls or other components. Examples may require accounts, model services or paid compute.
Source and rights
The project identifies CC BY-NC-SA 4.0. This page links to the source and provides original guidance without mirroring the tutorial; check code and third-party material separately.
Source: Datawhale
Related learning resources
- Hands-on LLM Application Development — Learn document preparation, retrieval question answering and evaluation through a personal knowledge assistant.
- Evaluation of Retrieval-Augmented Generation: A Survey — Survey metrics, datasets and benchmark limitations for retrieval and generation in RAG.
- Microsoft AI Agents for Beginners — Study agent design, tool use and practical lessons, including agentic RAG.
Continue learning: Free courses on AI MOOC