Getting a large language model to produce an impressive demo takes an afternoon. Getting it to behave reliably for real users – with your data, in your product, at a cost that makes sense – is an engineering problem. This course treats it as one, covering the patterns that hold up across providers rather than the quirks of a single model.
What you'll learn
- How LLM APIs work: messages, system prompts, tokens, context windows, temperature and streaming
- Prompt design that is clear, testable and versioned like code
- Getting structured output (JSON that matches a schema) and validating it
- Tool calling (also called function calling): letting the model query your database or call your APIs safely
- Embeddings, chunking strategies and vector search, for example with PostgreSQL and pgvector
- Retrieval-augmented generation (RAG): answering questions from your own documents, with citations
- Evaluating quality with test sets, automated checks and model-graded evaluations, and knowing their limits
- Managing cost and latency: model selection, caching, batching and streaming responses
- Security and safety: prompt injection, data privacy, output filtering and human review
- Logging, tracing and monitoring AI features in production
Who it's for
- Web and backend developers asked to "add AI" to an existing product
- Founders and product engineers prototyping an AI-powered feature or internal tool
- Data and automation engineers who want to go beyond simple chat interfaces
Prerequisites
- Working knowledge of Python or JavaScript/TypeScript (examples are provided in both)
- Comfortable calling a REST API and working with JSON
- An API key for at least one LLM provider; the course is provider-neutral
Outcomes
By the end of this course you will be able to:
- Design prompts and output schemas that produce consistent, machine-readable results.
- Build a RAG system over your own documents that cites its sources.
- Give a model tools to act on your systems, with guardrails in place.
- Set up an evaluation suite so you can change prompts or models with confidence.
Course outline
| Module | Topic |
|---|---|
| 1 | How LLMs and their APIs work |
| 2 | Prompt design and prompt versioning |
| 3 | Structured output and validation |
| 4 | Streaming, conversation state and context management |
| 5 | Tool calling and simple agent loops |
| 6 | Embeddings, chunking and vector databases |
| 7 | Building a RAG pipeline with citations |
| 8 | Evaluation: test sets, metrics and regression testing |
| 9 | Cost, latency, caching and choosing a model |
| 10 | Security: prompt injection, data handling and guardrails |
| 11 | Observability and running AI features in production |
| 12 | Project: an AI assistant over your own knowledge base |
FAQ
Which AI provider do you use?
The course is provider-neutral. The examples work with major hosted LLM APIs and can be adapted to open-weight models you run yourself. We focus on patterns that transfer, because models and prices change often.
Do I need a machine learning background?
No. You will be using models through APIs, not training them. Some intuition for how they work helps, and module 1 covers it.
Is RAG still needed with large context windows?
Often, yes. Retrieval keeps costs and latency down, works with document collections far larger than any context window, and makes it easier to show users where an answer came from.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.