GitHub 火线榜

GitHub 火线榜 · 仓库档案

dair-ai/Prompt-Engineering-Guide

Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents. (简介来自仓库自身文档。)

MDX#agent#agents#ai-agents

数据截至 10月28日dair-ai

最好成绩

#223

总榜 · 史上最强

8万

累计 Star

8732

Fork 总数

5

近 30 天在榜天数

许可证: MIT最近 push: 3月12日Open Issues(含 PR): 293自 2026-10-25 起采集;未知 = 尚未采集到

上榜 5 天 · 近 30 天 +116 星 · 日均 +23最猛 10-26 单日 +39连续在榜 5 天

项目文档

Prompt Engineering Guide

Sponsored by    

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 new prompt engineering, RAG, and AI Agents courses under the DAIR.AI Academy. Join Now!

The courses are meant to compliment this guide and provide a more hands-on approach to learning about prompt engineering, context engineering, and AI Agents.

Use code PROMPTING20 to get an extra 20% off.

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!

当前上榜

  • 223

    总榜 · 史上最强

    8万 星 · 8732 fork · 累计 Star

    总榜 →

近 30 天势头

累计 Star 走势

名次走势

每日新增 Star

把上榜徽章放进你的 README · dair-ai/Prompt-Engineering-Guide[![把上榜徽章放进你的 README](https://git.vaiox.xyz/api/badge/dair-ai/Prompt-Engineering-Guide.svg)](https://git.vaiox.xyz/zh/repo/dair-ai/Prompt-Engineering-Guide)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/zh/repo/dair-ai/Prompt-Engineering-Guide"><img src="https://git.vaiox.xyz/api/badge/dair-ai/Prompt-Engineering-Guide.svg" alt="把上榜徽章放进你的 README" height="20"></a>

← 回到榜单

GitHub 火线榜往日榜发现联系我们 · Contact