A free hands-on course with Jupyter notebooks and articles covering LLM applications with OpenAI, Hugging Face, LangChain, vector databases, fine-tuning and pruning.
datawhalechina/llm-universe
A Chinese-language tutorial that teaches beginner developers to build LLM applications, centered on a personal knowledge-base assistant using LangChain and RAG.
- Stars
- 14,190
- Forks
- 1,434
- Open issues
- 17
- Last commit
- 2 months ago
What is it?
LLM Universe is a tutorial for developers who want to learn large language model application development from scratch. It is organized around a personal knowledge-base assistant project, so readers build a working demo while learning the core workflow: calling LLM APIs, loading and splitting documents, storing embeddings in a vector database, and building a retrieval question-answering chain.
The course requires only basic Python and no machine learning background or GPU. It wraps several domestic and overseas model APIs, including ChatGPT, Baidu ERNIE Bot, iFlytek Spark and Zhipu GLM, behind a unified interface, and covers deployment with Streamlit and simple evaluation methods. The first part is complete; advanced RAG techniques and case studies of open-source LLM applications are still in progress.
Key features
- 01Hands-on project: builds a personal knowledge-base assistant step by step.
- 02Unified wrappers for ChatGPT, ERNIE Bot, iFlytek Spark and Zhipu GLM APIs.
- 03Covers document loading, chunking and vector database setup.
- 04Shows how to build a retrieval QA chain with LangChain.
- 05Includes Streamlit deployment and evaluation guidance.
- 06Runs on a personal computer or server without a GPU.
Use cases
- Beginners who know basic Python and want a first hands-on RAG project.
- Developers who need to integrate several Chinese LLM APIs under one interface.
- Teams building an internal document Q&A tool on top of LangChain.
Quick start
- 1
Read the tutorial online at the project's reading site
- 2
Install the official environment dependencies listed in requirements.txt
Things to know
- No license is specified, so reuse rights are unclear.
- It relies on third-party model vendor APIs, which require your own keys.
- Parts two and three are still being written.
Topics
FAQ
- What is llm-universe?
- A Chinese-language tutorial that teaches beginner developers to build LLM applications, centered on a personal knowledge-base assistant using LangChain and RAG. LLM Universe is a tutorial for developers who want to learn large language model application development from scratch. It is organized around a personal knowledge-base assistant project, so readers build a working demo while learning the core workflow: calling LLM APIs, loading and splitting documents, storing embeddings in a vector database, and building a retrieval question-answering chain.
- Is llm-universe free to use? What license does it have?
- llm-universe has no declared license. Its code is public, but without a license you have no explicit permission to reuse it; ask the author before relying on it.
- Is llm-universe still maintained?
- Updated within 6 months. The last commit to llm-universe was on Aug 27, 2026.
- What can I use llm-universe for?
- Beginners who know basic Python and want a first hands-on RAG project. Developers who need to integrate several Chinese LLM APIs under one interface. Teams building an internal document Q&A tool on top of LangChain.
- How do I install llm-universe?
- Read the tutorial online at the project's reading site Install the official environment dependencies listed in requirements.txt
- Where can I get llm-universe?
- The source code and installation instructions are on GitHub: https://github.com/datawhalechina/llm-universe
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An AI-native search database that stores vector, full-text, structured and semi-structured data in one MySQL-compatible engine, for agent memory and retrieval.
A free, step-by-step tutorial for building a Python AI agent with LangChain and LangGraph using free-tier Groq and Gemini models.
A large collection of open-source AI agents, agent skills, and RAG apps built on Claude, Gemini, GPT, DeepSeek, Llama, and Qwen models.
A free, open-source Chinese AI course and collection of practical skills covering Claude Code, Codex, OpenClaw, Hermes, prompt engineering, and image, voice and music AI tools.
A Chinese-language tutorial series for installing, configuring and building your own OpenClaw AI assistant, from beginner setup to custom Skills development.