Prompt-Engineering-Guide README

The project's README from github.com/dair-ai/Prompt-Engineering-Guide. As one markdown file: README.md.

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

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!

Prompt-Engineering-Guide (dair-ai/Prompt-Engineering-Guide)

Searching Database…

Что это такое?Это руководство по промпт-инжинирингу от DAIR.AI: большой, постоянно обновляемый сборник руководств, статей, конспектов лекций и ноутбуков о техниках промпт-инжиниринга, контекст-инжиниринга, генерации с дополнением поиском (RAG) и создания AI-агентов на основе LLM.
Это программный инструмент или сборник руководств и статей для чтения?Это скорее справочный сайт с документацией, а не программная библиотека: подборка материалов о техниках, моделях и научных статьях. Репозиторий также собирает руководство в веб-приложение на Next.js/Nextra, которое опубликовано в сети как веб-версия.
С чего новичку начать изучение руководства?Руководство разбито на пронумерованные разделы. Новичку стоит начать со страниц «Введение» и «Настройки LLM», а затем перейти к техникам вроде zero-shot, few-shot и Chain-of-Thought prompting.
Нужно ли что-то особенное, чтобы запустить руководство локально?Только если вы хотите запустить сайт локально, например, чтобы проверить перевод: понадобятся Node >=18 и pnpm, затем установите зависимости Next.js/Nextra и выполните pnpm dev. Для простого чтения руководства онлайн ничего не нужно.
Материалы регулярно обновляются и доступны на нескольких языках?Проект активно поддерживается: им воспользовались более 3 миллионов учащихся, добавлена видеолекция, поддерживается 13 языков, и переводы на другие языки приветствуются. Поэтому содержание постоянно расширяется и не устаревает.
Какие темы охватывает руководство помимо основ?Оно подробно разбирает техники вроде Zero-Shot и Few-Shot prompting, Chain-of-Thought, Tree of Thoughts, ReAct, RAG и вызова функций (function calling), а также содержит заметки по конкретным моделям: ChatGPT, GPT-4, LLaMA, Gemini, Mistral и Mixtral.
Есть ли видеолекция или платный курс к руководству?Да: есть бесплатная 1-часовая видеолекция со слайдами и ноутбуком, а также платные курсы в своем темпе по промпт-инжинирингу, RAG и AI-агентам в рамках DAIR.AI Academy.
Получало ли руководство признание за пределами проекта?В феврале 2023 года оно попало на первое место на Hacker News, о нем писали The Wall Street Journal и Forbes.
Зачем компания DAIR.AI создала это руководство?Компания собрала статьи, техники и инструменты, связанные с промптингом, поскольку разработчики и исследователи проявляли большой интерес к тому, как получать от LLM более надежные и полезные ответы.
Creator
dair-ai
Size
80.8 MB
Stars
79.3K
Updated
CommitMar 11
Age
3y
Commits · 90 Days