You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Ilya Gusev 1b4f4d2fb3 added some pages 1 year ago
.github Create FUNDING.yml 1 year ago
components add pages 1 year ago
guides Update prompts-applications.md 1 year ago
img add code generation guide 1 year ago
lecture add lecture slides 1 year ago
notebooks add react code example 1 year ago
pages added some pages 1 year ago
public add favicon 1 year ago
.gitignore remove folder 1 year ago
CITATION.cff Update CITATION.cff 1 year ago
LICENSE.md Create LICENSE.md 1 year ago
README.md revision 1 year ago
middleware.js multilanguage support 1 year ago
next-env.d.ts add site support 1 year ago
next.config.js added some pages 1 year ago
package-lock.json config 1 year ago
package.json removed sharp from package.json 1 year ago
pnpm-lock.yaml change 1 year ago
theme.config.tsx Added ru to theme.config.tsx 1 year ago
tsconfig.json add site support 1 year ago

README.md

Prompt Engineering Guide

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 for LLMs.

Happy Prompting!


Prompt Engineering for LLMs Course

Due to high demand, we are partnering with Maven to deliver a new course on Prompt Engineering for LLMs. If you are interested, join the waitlist.

Elvis Saravia (Cofounder of DAIR.AI and the creator of this guide), who has worked at companies like Meta AI and Elastic, and has years of experience in AI and LLMs, will be the instructor for this course.

Our learners range from software engineers to the top AI researchers and practitioners in organizations like LinkedIn, Amazon, JPMorgan Chase & Co., Intuit, Fidelity Investments, Coinbase, Guru, and many others.


Announcements / Updates

  • 🎓 New course on Prompt Engineering for LLMs coming soon! Join the waitlist!
  • 💼 We now offer several services like professional training, consulting, and talks.
  • The official Prompt Engineering for LLMs Certification coming soon! Join the waitlist!
  • 🌐 We now support 11 languages! Welcoming more translations.
  • 👩‍🎓 We crossed 700K learners in May 2023!
  • 🎉 We have launched a new web version of the guide here
  • 🔥 We reached #1 on Hacker News on 21 Feb 2023
  • 🎉 The Prompt Engineering Lecture went live here

Join our Discord

Follow us on Twitter

Subscribe to our Newsletter


Guides

You can also find the most up-to-date guides on our new website https://www.promptingguide.ai/.


Lecture

We have published a 1 hour lecture that provides a comprehensive overview of prompting techniques, applications, and tools.


Running the guide locally

To run the guide locally, for example to check the correct implementation of a new translation, you will need to:

  1. Install Node >=18.0.0
  2. Install pnpm if not present in your system. Check here for detailed instructions.
  3. Install the dependencies: pnpm i next react react-dom nextra nextra-theme-docs
  4. Boot the guide with pnpm dev
  5. Browse the guide at http://localhost:3000/

Appearances

Some places where we have been featured:


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}
}

License

MIT License

Feel free to open a PR if you think something is missing here. Always welcome feedback and suggestions. Just open an issue!