Prompt Patterns|

A Pattern Language for Knowledge Engineering with Large Language Models

Formal Representation

Forces the model to express its output in a rule-governed symbolic system rather than natural language prose, so meaning is carried by structure instead of explanation.

Solution

Techniques

Grammar Constraining

Executable Framing

Related Patterns