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:

  1. Design prompts and output schemas that produce consistent, machine-readable results.
  2. Build a RAG system over your own documents that cites its sources.
  3. Give a model tools to act on your systems, with guardrails in place.
  4. Set up an evaluation suite so you can change prompts or models with confidence.

Course outline

ModuleTopic
1How LLMs and their APIs work
2Prompt design and prompt versioning
3Structured output and validation
4Streaming, conversation state and context management
5Tool calling and simple agent loops
6Embeddings, chunking and vector databases
7Building a RAG pipeline with citations
8Evaluation: test sets, metrics and regression testing
9Cost, latency, caching and choosing a model
10Security: prompt injection, data handling and guardrails
11Observability and running AI features in production
12Project: 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.