Skip to the workspace
Pebells
learn by building
Menu
Learner Base
Sign in to save progress
Course contents
←
Prompt Engineering
47 topics · 7 areas · Full roadmap
Open course
Map
Jump to an area
Choose an area…
Introduction
Sampling Parameters
Output Control
Structured Outputs
Repetition Penalties
Automatic Prompt Engineering
AI Red Teaming
Find a topic
Scroll to explore · drag to pan
−
100%
+
Fit width
CLI Tools & Setup
Prompt Engineering
Related Roadmaps
AI Engineer
AI and Data Scientist
MLOps Roadmap
AI Red Teaming
Prompt Engineering
Introduction
LLMs and how they work?
What is a Prompt?
What is Prompt Engineering?
Models offered by ____
OpenAI
Google
Anthropic
Meta
xAI
Common Terminology
LLM
Tokens
Context Window
Hallucination
Model Weights / Parameters
Fine-Tuning vs Prompt Engg.
RAG
Agents
Prompt Injection
AI vs AGI
LLM Configuration
Sampling Parameters
Temperature
Top-K
Top-P
Output Control
Max Tokens
Stop Sequences
Repetition Penalties
Frequency Penalty
Presence Penalty
Structured Outputs
Prompting Techniques
Zero-Shot Prompting
One-Shot / Few-Shot Prompting
System Prompting
Role Prompting
Contextual Prompting
System / Role / Contextual
Step-back Prompting
Chain of Thought (CoT) Prompting
Self-Consistency Prompting
Tree of Thoughts (ToT) Prompting
ReAct Prompting
Automatic Prompt Engineering
Use LLM to generate Prompts
AI Red Teaming
Prompting Best Practices
— Provide few-shot examples for structure or output style you need
— Keep your prompts short and concise
— Prioritize giving clearer instructions over adding constraints
— Control the maximum output length
— Use variables / placeholders in your prompts for easier configuration
— Experiment with input formats and writing styles
— Tune sampling (temperature, top-k, top-p) for determinism vs creativity
— Guard against prompt injection; sanitize user text
— Automate evaluation; integrate unit tests for outputs
— Document and track prompt versions
— Optimize for latency & cost in production pipelines
— Document decisions, failures, and learnings for future devs
— Delimit different sections with triple backticks or XML tags
— Ask for structured output if it helps e.g. JSON, XML, Markdown, CSV etc
Prompt Debiasing
Prompt Ensembling
LLM Self Evaluation
Calibrating LLMs
Improving Reliability
Continue learning with following roadmaps
AI Engineer Roadmap
AI Agents Roadmap
Prompt Tuning
♜
Fortress guard
−
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.