prompt工程的引导、论文、讲座、笔记和资源。

Elvis Saravia ec295c7e58 prompt chaining video 1 月之前
.github bfd3db3b85 Create FUNDING.yml 1 年之前
ar-pages acf2b6ff57 ar 4 月之前
components 1238452236 prompt hub 9 月之前
guides b147ba017a Update prompt example in prompts-intro 7 月之前
img 8a6a3c32a1 meta prompting 2 月之前
lecture 3a080a6404 add lecture slides 1 年之前
notebooks fe056a6212 context caching 3 月之前
pages ec295c7e58 prompt chaining video 1 月之前
public 677f9a570d add favicon 1 年之前
.gitignore ec295c7e58 prompt chaining video 1 月之前
CITATION.cff 5723293430 Update CITATION.cff 1 年之前
LICENSE.md a68329e348 Create LICENSE.md 1 年之前
README.md 6468a9d3de Update README.md 1 月之前
middleware.js b18274dd3e multilanguage support 1 年之前
next-env.d.ts d40cba80e5 add site support 1 年之前
next.config.js acf2b6ff57 ar 4 月之前
package-lock.json 2efa11c219 course 1 月之前
package.json 2efa11c219 course 1 月之前
pnpm-lock.yaml 0774834bf7 fix issues 1 月之前
theme.config.tsx acf2b6ff57 ar 4 月之前
tsconfig.json ca0093dfa4 added copy clipboard 1 年之前

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.

🌐 Prompt Engineering Guide (Web Version)

🎉 We are excited to launch our brand new prompt engineering courses under the DAIR.AI Academy. Join Now!

Happy Prompting!


Announcements / Updates

  • 🎓 We now offer self-paced prompt engineering courses under our DAIR.AI Academy. Join Now!
  • 🎓 New course on Prompt Engineering for LLMs announced! Enroll here!
  • 💼 We now offer several services like corporate training, consulting, and talks.
  • 🌐 We now support 13 languages! Welcoming more translations.
  • 👩‍🎓 We crossed 3 million learners in January 2024!
  • 🎉 We have launched a new web version of the guide here
  • 🔥 We reached #1 on Hacker News on 21 Feb 2023
  • 🎉 The First Prompt Engineering Lecture went live here

Join our Discord

Follow us on Twitter

Subscribe to our YouTube

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 or research, 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!