Section 6: Context Engineering and Reducing Hallucination
- What context engineering is and how it differs from prompt writing
- Grounding with real data and basic RAG-aware prompting
- Forcing the AI to cite sources and answer I do not know when data is insufficient, and handling over-context documents with chunking
- Practical hallucination-reduction strategies for high-accuracy work
Section 7: System Prompts, Templates and Prompt Library
- Designing a system prompt that keeps AI assistant behavior consistent
- Creating prompt templates with variables for reuse, and prompt versioning
- Building an organizational prompt library, sharing it with the team, and embedding business rules and tone of voice
Section 8: AI Evaluation Principles and Building a Test Dataset
- Why feeling that a prompt improved is not enough, and the importance of measurement
- Types of evaluation: reference-based, reference-free and human preference
- Building an evaluation dataset and golden set from real work
- Common quality dimensions: accuracy, faithfulness, relevance, completeness and format compliance
Section 9: Evaluation Techniques and Regression Testing
- Human evaluation and designing a rubric that scores consistently
- LLM-as-a-judge to help score against a rubric, with bias caveats
- Pairwise comparison to judge which of two prompt versions is better, and regression testing to confirm a change does not worsen existing cases
- Workshop: build a golden set and measure two prompt versions with a rubric and LLM-as-a-judge
Section 10: Prompt Security, Robustness and PDPA
- Prompt injection and jailbreak risks with attack examples
- Basic defenses: separating user data from instructions and setting guardrails
- What must not be entered into AI and protecting personal data under PDPA, plus testing prompt robustness
- The human-in-the-loop concept for high-risk work
Section 11: Capstone Project and Real-world Adoption
- Task: build an end-to-end prompt system for one of the learner's real tasks, designing the system prompt and template with structured output
- Build a golden set and evaluation harness to measure quality before and after, then present results with evidence
- How to put the prompt system into production and extend it to AI agents, RAG and automation