Prompt-Engineering-Guide

dair-aiMIT更新放缓

汇集提示工程、上下文工程、RAG 与 AI Agent 的指南、论文、课程和 Notebook,帮开发者系统学习和实践大模型应用开发。

🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.

暂无版本79,955star +79 / 7 天8,772fork同步于 2026-11-10 05:17 UTC

怎么上手

由 README 提炼,执行前请确认
pnpm i next react react-dom nextra nextra-theme-docs
pnpm dev
硬件要求按 README 说明

README 未说明,纯文档与 Notebook 资源,本地预览只需 Node 环境

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

一份系统整理提示工程、RAG 与 AI Agent 的指南与论文资源库,帮你快速查技术选型

汇集提示工程、上下文工程、RAG 与 AI Agent 的指南、论文、课程和 Notebook,帮开发者系统学习和实践大模型应用开发。

核心能力

  • 按技术分类整理 Zero-Shot、Few-Shot、CoT、ToT、ReAct 等提示方法
  • 提供 Prompt Hub 按分类、编码、推理等场景收录可复用提示词
  • 汇总 RAG、函数调用、合成数据生成等应用落地案例
  • 收录论文、Notebook、数据集与工具等延伸资源
  • 支持 13 种语言并附一小时视频讲座与配套代码

容易踩的坑

本地预览需先装 Node >=18.0.0 和 pnpm,否则 pnpm 命令不可用;启动后默认监听 http://localhost:3000/,端口被占用需自行处理;Notebook 中的示例可能需要额外 API Key 或模型,README 未说明具体配置

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

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