A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT
Jules White, Quchen Fu, Sam Hays, Michael Sandborn, Carlos Olea, Henry, Gilbert, Ashraf Elnashar, Jesse Spencer-Smith, Douglas C. Schmidt

TL;DR
This paper introduces a catalog of prompt engineering patterns for improving interactions with ChatGPT, providing a structured framework and reusable solutions to enhance output quality and problem-solving in LLM conversations.
Contribution
It offers a systematic framework and a catalog of prompt patterns, including methods for combining patterns, to advance prompt engineering practices with LLMs.
Findings
Catalog of effective prompt patterns for LLMs
Framework for documenting and adapting prompt patterns
Demonstrated improvements in LLM output quality
Abstract
Prompt engineering is an increasingly important skill set needed to converse effectively with large language models (LLMs), such as ChatGPT. Prompts are instructions given to an LLM to enforce rules, automate processes, and ensure specific qualities (and quantities) of generated output. Prompts are also a form of programming that can customize the outputs and interactions with an LLM. This paper describes a catalog of prompt engineering techniques presented in pattern form that have been applied to solve common problems when conversing with LLMs. Prompt patterns are a knowledge transfer method analogous to software patterns since they provide reusable solutions to common problems faced in a particular context, i.e., output generation and interaction when working with LLMs. This paper provides the following contributions to research on prompt engineering that apply LLMs to automate…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices · Topic Modeling
