Prompt Patterns|

A Pattern Language for Knowledge Engineering with Large Language Models

Meta Prompting

Uses one prompt to generate, refine, or optimize another prompt, allowing humans and models to collaborate on better prompts instead of writing them directly.

Solution

Techniques

Prompt Generation

Question Refinement

Automatic Prompt Engineering (Generate Many, Pick One)

Generalized Meta Prompting (Structure-Based)

Related Patterns