Model Online / On-Site
Duration
Modules 6 modules

Course Objective & Scope

In production LLM applications, quality depends less on a single "good prompt" than on what information reaches the model on each call and in what order. The course treats prompts as software components: layered system prompts, templating, few-shot example selection, placement of retrieved content and conversation memory, the context cost of tool definitions, and separating instructions from user data.

Tools such as Langfuse are used for prompt versioning and management, and promptfoo for eval-driven iteration that measures the impact of changes. Participants design a documented context architecture for one of their organisation's applications.

Who Should Attend?

  • Software and AI engineers building LLM applications
  • Architects responsible for the technical design of assistants and agents
  • Product and content teams accountable for prompt quality
  • Prerequisite: basic experience building applications with LLM APIs

Key Takeaways

  • Design layered, maintainable system prompts and templates
  • Budget the context window across instructions, examples, data and memory
  • Version, test and roll back prompts like code
  • Reduce the prompt injection surface by separating instructions from data
  • Base prompt decisions on measured impact using eval sets

Curriculum

From Prompt Engineering to Context Engineering
  • Components of an LLM call and their effect on quality
  • Instruction, example, data and memory layers
System Prompt and Template Design
  • Structuring role, rules, output format and boundaries
  • Variable injection and template libraries
Few-Shot Examples and Dynamic Context
  • Example selection and dynamic few-shot
  • Placing retrieved content and memory summaries
Context Budget and Prompt Security
  • Token budget, ordering and the cost of tool definitions
  • Instruction–data separation, delimiters and injection defences
Prompt Management, Versioning and Evals
  • Prompt registry and version tracking with Langfuse
  • Comparative testing and regression checks with promptfoo
Hands-On: Context Architecture Document
  • Designing context layers for an organisational application
  • Validating the design with eval results

Other Courses in This Category

Get in touch