Add AI to a working product
Build a reliable model client, measure retrieval, and connect both in a grounded assistant with a reproducible demo.
What you will be able to make
A grounded assistant that answers from your documents, cites its sources and has a measured retrieval report.
Before you start
- You have written or changed application code and can run a small Python program.
- You can install dependencies, use Git, and call a JSON API; revisit the foundation lessons if these are new.
- Use a computer for coding practice. The mock model keeps the core work offline and free of API charges.
Stages and checkpoints
- Stage 1
Call an LLM reliably
Read a model request, budget its context, and build a client you can test without an API key.
6 of 6 available · 0 ready
- LessonAnatomy of a Request: Messages, Parameters and MediaPreview
- LessonHow an LLM Writes: One Sampled Token at a TimePreview
- SkillLLM API IntegrationPreview
- Knowledge checkKnowledge check · LLM API IntegrationPreview
- MilestoneLLM Ticket Triage Service · M1 · Labelled ticket setPreview
- MilestoneLLM Ticket Triage Service · M2 · LLM client with failure handlingPreview
Checkpoint
A labelled set of at least 50 synthetic tickets and a model client with offline failure-handling tests.
- Validate every ticket against the schema.
- Tests cover timeouts, rate limits and bounded retries.
- Run the tests with the mock model and no API key.
- LessonAnatomy of a Request: Messages, Parameters and Media
- Stage 2
Compare prompts on real inputs
Use a labelled set to compare two prompts and serve validated responses within a budget.
5 of 5 available · 0 ready
- SkillPrompt BasicsPreview
- Knowledge checkKnowledge check · Prompt BasicsPreview
- MilestoneLLM Ticket Triage Service · M3 · Prompt versions comparedPreview
- MilestoneLLM Ticket Triage Service · M4 · Hosted versus local modelPreview
- MilestoneLLM Ticket Triage Service · M5 · Budgeted HTTP endpointPreview
Checkpoint
A ticket classification endpoint and a prompt comparison with accuracy, latency and token usage.
- Use the same labelled inputs for both prompts.
- Explain at least two misclassifications.
- Document the model or mock used; a paid hosted comparison is optional.
- SkillPrompt Basics
- Stage 3
Measure retrieval
Chunk a document collection, build a search baseline and compare configurations before generating answers.
5 of 5 available · 0 ready
- SkillEmbeddingsPreview
- SkillChunkingPreview
- LessonPrecision@k and Recall@k by Hand and in CodePreview
- Knowledge checkKnowledge check · RAG Retrieval EvaluationPreview
- ProjectRetrieval Benchmark for a Docs CorpusPreview
Checkpoint
A reproducible retrieval benchmark with labelled queries and a configuration comparison table.
- Keep document IDs and query labels stable across runs.
- Report precision@k and recall@k for the same query set.
- Trace at least three retrieval failures to a concrete cause.
- SkillEmbeddings
- Stage 4
Ship a grounded assistant
Connect retrieval to generation and return answers with sources and an explicit abstention path.
5 of 5 available · 0 ready
- SkillRAG FoundationsPreview
- SkillGrounding & CitationsPreview
- MilestoneBuild a Grounded RAG Assistant · M1 · Requirements and example queriesPreview
- MilestoneBuild a Grounded RAG Assistant · M2 · Ingestion and retrieval CLIPreview
- MilestoneBuild a Grounded RAG Assistant · M3 · QA API with citationsPreview
Checkpoint
A local assistant endpoint that returns grounded answers and source references for a licensed document collection.
- Document the intended questions and what is out of scope.
- Inspect the retrieved source for each example answer.
- Show how the assistant responds when the sources do not support an answer.
- SkillRAG Foundations
- Stage 5
Evaluate and hand over
Measure the assistant, document its operating limits and make a demo another person can reproduce.
4 of 4 available · 0 ready
- SkillAI EvaluationPreview
- MilestoneBuild a Grounded RAG Assistant · M4 · Evaluation reportPreview
- MilestoneBuild a Grounded RAG Assistant · M5 · Security and operations READMEPreview
- MilestoneBuild a Grounded RAG Assistant · M6 · Demo and reflectionPreview
Checkpoint
An evaluation report, operations README and reproducible assistant demo.
- Keep the held-out evaluation set separate from prompt tuning.
- Record limitations, latency and cost assumptions.
- Reproduce the demo using only the README and the documented mock or model setup.
- SkillAI Evaluation
- Stage 6Optional
Harden the app and control cost
Optional: test untrusted inputs and compare cost controls against your evaluation baseline.
3 of 3 available · 0 ready
- SkillAI SecurityPreview
- Knowledge checkKnowledge check · AI SecurityPreview
- SkillCost ControlPreview
Checkpoint
A threat model and cost comparison tied to the same assistant evaluation set.
- Test prompt injection and document the limits of each defence.
- Compare token usage before and after one cost control.
- Check that the change does not regress the chosen quality measures.
- SkillAI Security