Prompt engineering is a relatively new discipline for developing and optimizing prompts to efficiently use language models (LMs) for a wide variety of applications and research topics. Prompt engineering skills help to better understand the capabilities and limitations of large language models (LLMs). Researchers use prompt engineering to improve the capacity of LLMs on a wide range of common and complex tasks such as question answering and arithmetic reasoning. Developers use prompt engineering to design robust and effective prompting techniques that interface with LLMs and other tools.
Motivated by the high interest in developing with LLMs, we have created this new prompt engineering guide that contains all the latest papers, learning guides, lectures, references, and tools related to prompt engineering.
Happy Prompting!
- 🎉 We have launched new web version of the guide here
- 🎓 Partnered with Sphere to deliver a new course on Prompt Engineering for LLMs
- 💬 New ChatGPT prompt engineering guide coming soon!
- 🔥 We reached #1 on Hacker News on 21 Feb 2023
- 🎉 The Prompt Engineering Lecture went live here
- 🎓 We're creating a set of comprehensive guides here
We have published a 1 hour lecture that provides a comprehensive overview of prompting techniques, applications, and tools.
The following are a set of guides on prompt engineering developed by us. Guides are work in progress.
- Prompt Engineering - Introduction
- Prompt Engineering - Basic Prompting
- Prompt Engineering - Advanced Prompting
- Prompt Engineering - Applications
- Prompt Engineering - ChatGPT
- Prompt Engineering - Adversarial Prompting
- Prompt Engineering - Reliability
- Prompt Engineering - Miscellaneous Topics
- Prompt Engineering - Papers
- Prompt Engineering - Tools
- Prompt Engineering - Datasets
- Prompt Engineering - Additional Readings
If you are using the guide for your work, please cite us as follows:
@article{Saravia_Prompt_Engineering_Guide_2022,
author = {Saravia, Elvis},
journal = {https://github.com/dair-ai/Prompt-Engineering-Guide},
month = {12},
title = {{Prompt Engineering Guide}},
year = {2022}
}
Feel free to open a PR if you think something is missing here. Always welcome feedback and suggestions. Just open an issue!