Prompt Patterns|

A Pattern Language for Knowledge Engineering with Large Language Models

Context Scoping

Constrains a model's response by explicitly declaring what information is relevant and what should be ignored, without adding, removing, or rewriting context.

Solution

Techniques

Inclusion Scoping

Exclusion Scoping

Explicit Irrelevance Declaration

Context Reset (Soft)

Related Patterns