preprintarXiv (Cornell University)Feb 21, 2023GREEN OA

A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT

Indexed inarxivdatacite

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,…

Citation impact

787
total citations
FWCI
Percentile
References
0
Citations per year

Authors

9

Topics & keywords

Keywords
  • Converse
  • Computer science
  • Context (archaeology)
  • Set (abstract data type)
  • Software engineering
  • Structuring
  • Software design pattern
  • Pattern language (formal languages)
No related works found for this paper.