Prompt Patterns|

A Pattern Language for Knowledge Engineering with Large Language Models

Prompt Patterns book cover

Prompt Patterns

Get the book on Leanpub

Context Curation

Specifies which provided information counts as relevant evidence and which should be ignored, without adding, removing, or rewriting context.

Context Curation pattern diagram

Problem

Once text is present, irrelevant or biased details can still influence generation and pull reasoning toward plausible distractors.

Solution

Explicitly define what counts as evidence and what must be ignored, or reconstruct a reduced context before answering. This reweights or removes distractors so reasoning tracks task-relevant signals.