AI Enablement: LLMs in Practice
Artificial Intelligence · Beginner · 26 lessons · 5h 22m · Free
By LearnSpace Official
About this course
Use large language models well at work: prompting, retrieval, tools, evaluation and safe rollout
A practical, model-agnostic course on using large language models effectively at work. You will learn how LLMs actually work (tokens, context windows, training and why they make things up), write prompts that hold up, ground answers in your own documents with retrieval (RAG), connect models to tools and agents, measure quality with simple evaluations, and roll AI out to a team safely, with privacy, security and responsible use built in. Small runnable JavaScript examples let you see prompt templates, chunking, similarity search, agent loops and scoring work for yourself. No prior AI or coding experience needed.
From LearnSpace Official: https://learnspace.io
Course content
How LLMs actually work
A useful mental model of large language models: next-token prediction, tokens and context windows, how a raw model becomes an assistant, why models state false things confidently, and how to choose a model for a task.
- What a large language model is (10m)
A large language model predicts the next piece of text, and that simple trick, done at enormous scale, produces a surprisingly capable assistant.
- Tokens and context windows (12m)
Models read and write in tokens and can only consider a limited window of them at once, which shapes cost, speed and what a model can "see".
- From pretraining to assistant (12m)
A raw language model becomes a helpful assistant through pretraining, instruction tuning and preference tuning, which explains much of how assistants behave.
- Why models make things up (13m)
Hallucinations follow from how LLMs generate text; knowing the causes tells you how to reduce the risk.
- Choosing a model for the task (13m)
There is no single best model; you choose by weighing quality, context, speed, cost, modality and data requirements against the task.
- What a large language model is (10m)
How LLMs actually work quiz Quiz
Prompting that works
How to write prompts that hold up in real work: the parts of a good prompt, examples and structure, breaking big tasks into steps, debugging prompts like code, and reusable patterns for everyday tasks.
- Anatomy of a good prompt (12m)
A good prompt is a good brief: it gives the model the context, task, constraints and output format a smart new colleague would need.
- Examples and structure (14m)
Worked examples, clear separators and an explicit output shape make model answers more consistent and easier to use.
- Reasoning and decomposition (13m)
For multi-step problems, ask the model to work through steps, split big jobs into a chain of smaller prompts, and build in a check.
- Iterating and debugging prompts (12m)
Treat important prompts like code: test them on a small set of real inputs, change one thing at a time, and keep versions your team can share.
- Everyday prompt patterns (14m)
Reusable patterns for summarizing, drafting, extracting, critiquing, brainstorming and coding help, and what to verify for each.
- Anatomy of a good prompt (12m)
Prompting that works quiz Quiz
Grounding answers in your knowledge
Language models only know what was in their training data and what you put in front of them. This section shows how retrieval-augmented generation (RAG) feeds a model the right pieces of your own documents, how embeddings and search find those pieces, how to chunk and index content, and how to debug a RAG system when the answers go wrong.
- Why models need retrieval (11m)
Models do not know your private, recent or niche information, and retrieval is usually the most practical way to give it to them.
- Embeddings and search (13m)
Embeddings turn text into vectors that capture meaning, so a system can find relevant passages even when they use different words.
- Chunking and indexing your content (12m)
How you split, label and refresh documents decides what search can find, so chunking deserves as much care as the model.
- Building and debugging a RAG system (14m)
Put the pieces together into a pipeline with a grounded prompt and access control, then debug failures by inspecting what was retrieved first.
- Why models need retrieval (11m)
Grounding answers in your knowledge quiz Quiz
Tool use and agents
How models call tools, how to design tools they use well, how agent loops differ from fixed workflows, and how to keep agents safe, affordable and useful.
- How tool calling works (11m)
A model never runs code itself: it asks your application to run a tool, and the result comes back as more text in the conversation.
- Designing tools models use well (12m)
Small, clearly described, well-validated tools with the least privilege they need make agents more reliable and much safer.
- Agent loops and workflows (13m)
An agent is a model in a loop choosing its own next step; a workflow is a fixed sequence you design, and most real systems need more workflow than agent.
- Keeping agents safe and useful (12m)
Approvals, budgets, sandboxes, permissions and traces turn an impressive agent demo into something you can trust in daily work.
- How tool calling works (11m)
Tool use and agents quiz Quiz
Measuring quality
Replace "it seems fine" with evidence. Define what good looks like, build a small test set from real examples, score outputs with rules, rubrics and model-graded checks, and keep watching quality once your AI feature is live.
- Why evaluation matters (10m)
Gut feel does not scale: evaluations let you compare versions, catch regressions and decide when an AI feature is good enough.
- Building a test set (12m)
A good test set is built from real examples, covers typical, edge and adversarial cases, and is versioned like code.
- Scoring methods (14m)
Choose the cheapest scoring method that measures what you care about: code-based checks, human rubrics, model-graded judges or pairwise comparison.
- Monitoring in production (12m)
Once an AI feature is live, log carefully, review samples, test every change against your eval set and listen to users.
- Why evaluation matters (10m)
Measuring quality quiz Quiz
Safety, privacy and team rollout
Keep confidential data safe, defend against prompt injection, use AI responsibly, and roll it out to a team in a way that sticks and can be measured.
- Data privacy and confidentiality (12m)
Know what happens to the data you send to a model, classify it before you share it, and redact what does not need to travel.
- Prompt injection and LLM security (13m)
Understand how text can hijack a model, why it is hard to fully prevent, and the layered defences that limit the damage.
- Responsible use: fairness, accountability and transparency (12m)
Use AI in ways that are fair, honest and accountable, and know where the stakes are too high for automation alone.
- Rolling out AI in a team (14m)
Pick good first use cases, pilot with champions, set simple rules, measure honestly and grow what works.
- Data privacy and confidentiality (12m)
Safety, privacy and team rollout quiz Quiz
Frequently asked questions
How much does AI Enablement: LLMs in Practice cost?
AI Enablement: LLMs in Practice is free. Sign up for a free LearnSpace account to enroll and track your progress.
How long is AI Enablement: LLMs in Practice?
26 lessons, about 5h 22m in total. It's self-paced and online, so you can start and stop whenever you like.
What does AI Enablement: LLMs in Practice cover?
12 parts: How LLMs actually work; How LLMs actually work quiz; Prompting that works; Prompting that works quiz; Grounding answers in your knowledge; and more.
What level is AI Enablement: LLMs in Practice?
It's marked beginner level in Artificial Intelligence.
More Artificial Intelligence courses
- AI Training Foundations (Free)
- Agents & Tool Use (Free)
- Agents in Production (Free)
- Creating Images with AI (Free)
- Efficient AI: Inference, Sparsity & Hardware (Free)
- Evaluation & Trust (Free)