Skip to main content

21 docs tagged with "prompt-engineering"

View all tags

Advanced Prompting Techniques

Master self-refinement, Tree of Thought, ReAct, meta-prompting, and other advanced techniques for reliable, sophisticated LLM behavior in production.

Chain-of-Thought Prompting

Learn how to unlock multi-step reasoning in LLMs by making them think out loud - and why this simple technique dramatically improves accuracy on complex tasks.

Few-Shot Prompting

Master in-context learning by providing carefully selected examples that demonstrate the exact behavior you want - without any model fine-tuning.

Module 03: Prompt Engineering

Master the art and science of communicating with large language models - from basic zero-shot instructions to automated prompt optimization with DSPy.

Prompt Debugging Methodology

Systematic methodology for diagnosing and fixing prompt failures - isolation, ablation, root cause analysis, and building a regression test suite.

Prompt Design Fundamentals

Master the first principles of prompt engineering - clarity, specificity, task framing, structural markers, and the systematic principles behind effective LLM instructions.

Prompt Injection and Security

Understand how prompt injection attacks work, why they're hard to defend against, and how to build LLM systems that are resistant to manipulation.

Prompt Injection Defense

Understand prompt injection attack taxonomy, detection strategies, defense layers, and sanitization techniques for production LLM systems.

Prompt Optimization and DSPy

Move beyond manual prompt engineering to automated, evaluation-driven optimization - using APE, OPRO, and DSPy to build LLM pipelines that improve themselves.

Prompt Templates and Composition

Build maintainable, production-grade prompt systems with Jinja2 templates, variable injection, modular composition, and reusable prompt libraries.

Prompt Templates in Python

Building maintainable prompt systems in Python - template engines, versioning, testing prompts, few-shot construction, and prompt injection defense.

Prompt Versioning and Management

Treat prompts as code - semantic versioning, A/B testing, rollback strategies, and prompt registries for production LLM systems.

ReAct Pattern

Learn how to build LLM agents that reason and act by interleaving thought and tool calls - the architectural pattern behind every modern AI assistant.

Structured Output and JSON Mode

Reliably extract structured data from LLMs using JSON mode, function calling, Pydantic validation, and constrained decoding - the backbone of production LLM pipelines.

System Prompts and Context Design

Master the architecture of LLM conversations - how to design system prompts, manage context windows, and build production-grade context management systems.

System Prompts and Personas

Design production-grade system prompts and AI personas - the 6-component anatomy, dynamic context injection, behavioral constraints, tone configuration, and persona stability testing.

Tree-of-Thought Prompting

Explore multiple reasoning paths simultaneously using Tree-of-Thought - the technique that enables LLMs to backtrack, evaluate alternatives, and solve problems that defeat linear chain-of-thought.

Zero-Shot Prompting

Learn how to elicit reliable behavior from LLMs using only instructions - no examples required - by mastering prompt anatomy, role personas, and format control.