Learning Hub · AI Advanced
Artificial Intelligence
Advanced
Deep-dive topics beyond the Foundation — practical in-depth guides on prompt engineering, fine-tuning, RAG, agents, and production AI patterns.
1
Topic
10
Chapters
↑
Growing
The Foundation covers AI breadth-first across 12 domains. Advanced goes depth-first — each topic is a complete practitioner's guide with real examples, code, benchmarks, and production patterns.
✍️ Prompt Engineering
From zero-shot basics to production-grade prompt systems — how LLMs actually process prompts, chain-of-thought reasoning, structured outputs, injection defence, evaluation, and model-specific patterns.
PE 1
How LLMs Process Prompts
Tokens, attention, probability — why framing changes everything
Core PE 2
Zero-Shot, Few-Shot & Roles
When examples help, persona vs instruction, label balance
Core PE 3
Chain-of-Thought & Reasoning
CoT, Self-Consistency, Tree-of-Thoughts, Least-to-Most
In-depth PE 4
Structured Outputs & Format Control
JSON mode, schema prompting, Pydantic validation patterns
Core PE 5
System Prompts & Instruction Hierarchy
System vs user roles, tone locking, model-specific differences
In-depth PE 6
RAG Prompting Patterns
Context injection, citation prompting, lost-in-the-middle
Core PE 7
Prompt Injection & Security
Direct & indirect injection, leaking, real attacks & defences
In-depth PE 8
Evaluation & Regression Testing
LLM-as-judge, golden sets, promptfoo, LangSmith evals
Core PE 9
Model-Specific Patterns
GPT-4o, Claude XML tags, Gemini grounding, Llama 3 templates
Core PE 10
Production Prompt Engineering
Versioning, cost optimisation, A/B testing, incident response
In-depth