
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Overview. Chat with your company docs: the finished app, running locally. The finished project running first, then the plan for the course, what you need, and the course code (attached here as a download).
Hands-on. Chat with a PDF in 20 lines (Ollama + LlamaIndex setup). Practical for this section: ask_pdf(): answer + sources (policy lookup helper).
Hands-on. Load, index, ask: documents, nodes, embeddings, saving the index. Practical for this section: chunk_report() + build_or_load() (nightly rebuild, instant load).
Hands-on. Better answers: 3 query engine fixes, measured. Practical for this section: careful_engine(): strict prompt, top 4, cutoff.
Hands-on. Chat engine with memory: follow-up questions. Practical for this section: hr_chat(): condense_plus_context + Memory (HR desk bot).
Hands-on. Metadata filters: search the right documents. Practical for this section: build_filters() from portal choices.
Quick note: if this course has been useful so far, an honest review helps other learners decide whether it is right for them. It takes about 10 seconds, and you can update it any time as you go further. Questions or anything unclear? Ask in the Q&A, I reply to every one.
Hands-on. Evaluate your assistant: 14 test questions, hit rate, LLM judges. Practical for this section: retrieval_report(): hit rate, MRR, misses.
Hands-on. A small agent with tools + the final company docs app, tested. Practical for this section: leave_cash_out tool (typed, documented, validated).
Keep a saved index in step with your documents folder without rebuilding it. New files are inserted, changed files are re-embedded, unchanged files are skipped and deleted files are removed. You see the random-id pitfall, check the splitter settings and run the tests.
This course contains the use of artificial intelligence.
LlamaIndex is the Python library built for one job: letting an AI answer questions from your own documents. In this course you build a 'chat with your company docs' assistant from an empty folder, using llama-index-core 0.14.25 and local models through Ollama (qwen2.5:0.5b and all-minilm, under 450 MB together). No API key, no card, and no document ever leaves your computer.
Every section ends with something you build and run: chat with a PDF in about 20 lines with sources; documents, nodes, chunk sizes and a saved index that loads in under half a second; three query engine fixes measured side by side; a chat engine with memory for follow-up questions; metadata filters by department; an evaluation with 14 test questions, hit rate, MRR and LLM judges; and a small agent with tools, plus the finished app with 17 passing tests.
The models are tiny on purpose, and you see their real mistakes word for word, then the fix and the measurement that proves it worked. Every output shown is from a real run (October-November 2026); the code, logs, practicals and cheat sheets are included. Narration is AI-voiced; the code, runs and results are real.
The course is 1 h 57 min of video in 8 sections. Section 1 is the overview and setup; the other sections are hands-on, and every program is run for real on screen. Each hands-on section comes with a one-page cheat sheet (PDF), a short quiz, a practical with starter and solution files and an assignment with a model answer; 5 coding exercises let you write the code yourself.