Prompt Patterns|

A Pattern Language for Knowledge Engineering with Large Language Models

Context Reconstruction

Forces the model to deliberately decide what to attend to by regenerating a cleaner, task-relevant context before answering, reducing distraction, bias-copying, and spurious correlations.

Solution

Techniques

Context + Question Separation

Bias and Opinion Stripping

Relevance-Based Filtering

Irrelevance-Aware Reconstruction

Discard the Original Prompt (Hard Separation)

Related Patterns