dair-ai /Prompt-Engineering-Guide
🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
★ 79,957⑂ 8,772👁 752⑃ 528● 263▤ 0◈ 0
79,957
stars
+18
8,772
forks
752
watchers
528
prs
263
issues
0
releases
0
discussions
README
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/. - Prompt Engineering - Introduction - Prompt Engineering - LLM Settings - Prompt Engineering - Basics of Prompting - Prompt Engineering - Prompt Elements - Prompt Engineering - General Tips for Designing Prompts - Prompt Engineering - Examples of Prompts - Prompt Engineering - Techniques - Prompt Engineering - Zero-Shot Prompting - Prompt Engineering - Few-Shot Prompting - Prompt Engineering - Chain-of-Thought Prompting - Prompt Engineering - Self-Consistency - Prompt Engineering - Generate Knowledge Prompting - Prompt Engineering - Prompt Chaining - Prompt Engineering - Tree of Thoughts (ToT) - Prompt Engineering - Retrieval Augmented Generation - Prompt Engineering - Automatic Reasoning and Tool-use (ART) - Prompt Engineering - Automatic Prompt Engineer - Prompt Engineering - Active-Prompt - Prompt Engineering - Directional Stimulus Prompting - Prompt Engineering - Program-Aided Language Models - Prompt Eng
Top issues
#710Chinese support4 comments · 2025-11-02#140Translation files hierarchy and Crowdin project setup4 comments · 2023-04-18#702Feedback for “Prompt Engineering Guide”: a technique not listed & which name would conflict with "meta-prompting"2 comments · 2025-09-10#542 course completion3 comments · 2024-08-23#505ADM-GenAI-Prompting Techniques (EXTR332863)3 comments · 2024-06-21#460Feedback for “Additional Readings”3 comments · 2024-04-21#356Request to refactor the organization of .mdx content files3 comments · 2024-01-16#75Proposal to Translate Website into Haitian Creole and French3 comments · 2023-04-03