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.
 
 
 
 
Go to file
Elvis Saravia f362d873ca
Merge pull request #319 from S4MFI/Prompt-Engineering-Guide-FI-updates
updated LLM list with correct links and release dates
2023-10-19 13:46:19 -06:00
.github Create FUNDING.yml 2023-02-01 18:22:13 -06:00
components added copy clipboard 2023-10-09 22:40:16 -06:00
guides Update prompts-applications.md 2023-04-03 15:58:14 -06:00
img images added for dataset diversity 2023-10-04 23:13:29 +04:00
lecture add lecture slides 2023-02-19 07:51:04 -06:00
notebooks add example nb using litellm 2023-09-18 17:19:41 -07:00
pages Merge pull request #319 from S4MFI/Prompt-Engineering-Guide-FI-updates 2023-10-19 13:46:19 -06:00
public add favicon 2023-03-13 21:13:09 -06:00
.gitignore remove folder 2023-04-13 02:21:31 -06:00
CITATION.cff Update CITATION.cff 2023-01-28 15:34:03 -06:00
LICENSE.md Create LICENSE.md 2022-12-17 14:12:10 -06:00
README.md update readme and meta with diverse synthetic datasets 2023-10-04 23:14:24 +04:00
middleware.js multilanguage support 2023-03-30 18:43:20 -06:00
next-env.d.ts add site support 2023-03-10 17:22:18 -06:00
next.config.js fix 2023-10-04 11:53:41 -06:00
package-lock.json added copy clipboard 2023-10-09 22:40:16 -06:00
package.json added copy clipboard 2023-10-09 22:40:16 -06:00
pnpm-lock.yaml fix lock file 2023-10-09 22:44:14 -06:00
theme.config.tsx added copy clipboard 2023-10-09 22:40:16 -06:00
tsconfig.json added copy clipboard 2023-10-09 22:40:16 -06:00

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!

Announcements / Updates

  • 🎓 New course on Prompt Engineering for LLMs announced! Enroll here!
  • 💼 We now offer several services like professional training, consulting, and talks.
  • 🌐 We now support 12 languages! Welcoming more translations.
  • 👩‍🎓 We crossed 800K learners in June 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/.

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/

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!