


ChatGPT is very popular, and the most comprehensive prompt engineering guide is on the GitHub hot list, with 4.7k stars!
Prompt project can be said to be a "required course" for playing with AI models such as ChatGPT, DALL·E 2, etc.
But how to write this "prompt" specifically, there is some mystery in it...
It’s no wonder that a new profession was born - reminder engineer, with an annual salary of US$250,000-330,000.
Not long ago, Kevin Liu, a Chinese undergraduate from Stanford University, passed prompt The injection method allows all prompts searched by Microsoft ChatGPT to be leaked. Since then, there has been a wave of teasing ChatGPT.
Today, a new project was released on GitHub, which organized the tips Engineering guides, papers, lectures and resources are the most comprehensive prompt package in history.
Project address: https://github.com/dair-ai/Prompt-Engineering-Guide
With a growth of nearly 1k stars a day, this "Prompt Engineering Guide" has been on both GitHub Trending and Hacker News hot lists.
Guide content
The output of a language model needs to be achieved through input hints, but the quality of the results depends on how much information you provide it.
As we introduce more and more examples and applications of prompt engineering, you will notice that a prompt is usually composed of several different elements:
- Instructions: Specific tasks or instructions you want the model to perform
- Context: Supplementary external or contextual information that can guide the model to respond better
- Input data: Input or problem you want to solve
- Output indication:The type or format of the output
Exactly what type or format the output should be How to play with the prompt project? This guide on GitHub will be of great help.
This guide includes readings such as lectures, prompt introductions, papers, tools and libraries, data sets, blogs, and tutorials, with a total of 6 parts.
50 pages of PPT, one-hour super detailed lecture
in " The "Lecture" section includes an hour-long video, code examples, and a 50-page PPT to accompany the lecture.
Among them, the video contains 4 parts, namely, an introduction to the project, providing engineering technology, tools and applications, and future directions.
Both the video and PPT introduce the definition of prompts in detail: prompts refer to the instructions and context passed to the language model in order to achieve a specific task.
Prompt engineering is the process of creating a set of prompts or questions to guide users to obtain their desired results.
Why is the prompt project so important?
Because it is very important for research and discovery, it can be used to help test the various limits of large language models, and can also develop various innovative applications based on large language models.
## Why is prompt engineering so important?
Because it is very important for research and discovery, it can be used to help test the various limits of large language models, and can also develop various innovative models based on large language models. application.
Prompt Guide
Prompt engineering guide developed by the team, mainly composed of 5 parts:
- Introduction
- Basic tips
- Text summary
- Question answers
- Dialogue
- Code generation
- Inference
- Advanced tips
- few-shot tips
- Chain of Thought (CoT) Tips
- zero-shot CoT
- Self-consistency
- Generate knowledge prompts
- Automatic Prompt Engineer (APE)
- Adversarial prompts
- Ignore previous commands
- Prompt leak
- Jailbreak
- Others
- Procedurally Assisted Language Model
- ReAct
- Multimodal CoT Tips
- Picture tips
The team will be updating the latest papers on prompt engineering every day, and summaries of these papers will be incorporated into the guide above every week.
For example, LeCun’s new work "Augmented Language Models: a Survey" in February this year was included.
Specifically, the author divided the paper into 4 major categories:
Survey/Overview
- Methods/Techniques
- Application
- Supplement
This part is mainly a summary of experiences from the big guys.
Elvis Saravia, who leads this project, is DAIR Co-founder of .AI.
He received his master's and doctoral degrees in information systems and applications from Tsinghua University in Taiwan.
Prior to this, he served as a technical product marketing manager at Meta AI for 2 years and was a member of the program committee for the NeurIPS Symposium and NAACL 2019.
Judging from the experience on Linkedin, this friend seems to have been responsible for Galactica, which LeCun has always been thinking about.
The above is the detailed content of ChatGPT is very popular, and the most comprehensive prompt engineering guide is on the GitHub hot list, with 4.7k stars!. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



With the launch of Windows 11, Microsoft has introduced some new features and updates, including a security feature called VBS (Virtualization-basedSecurity). VBS utilizes virtualization technology to protect the operating system and sensitive data, thereby improving system security. However, for some users, VBS is not a necessary feature and may even affect system performance. Therefore, this article will introduce how to turn off VBS in Windows 11 to help

VSCode Setup in Chinese: A Complete Guide In software development, Visual Studio Code (VSCode for short) is a commonly used integrated development environment. For developers who use Chinese, setting VSCode to the Chinese interface can improve work efficiency. This article will provide you with a complete guide, detailing how to set VSCode to a Chinese interface and providing specific code examples. Step 1: Download and install the language pack. After opening VSCode, click on the left

Conda Usage Guide: Easily upgrade the Python version, specific code examples are required Introduction: During the development process of Python, we often need to upgrade the Python version to obtain new features or fix known bugs. However, manually upgrading the Python version can be troublesome, especially when our projects and dependent packages are relatively complex. Fortunately, Conda, as an excellent package manager and environment management tool, can help us easily upgrade the Python version. This article will introduce how to use

Detailed explanation of jQuery reference method: Quick start guide jQuery is a popular JavaScript library that is widely used in website development. It simplifies JavaScript programming and provides developers with rich functions and features. This article will introduce jQuery's reference method in detail and provide specific code examples to help readers get started quickly. Introducing jQuery First, we need to introduce the jQuery library into the HTML file. It can be introduced through a CDN link or downloaded

With the continuous development of technology, Linux operating systems have been widely used in various fields. Installing Deepin Linux system on tablets allows us to experience the charm of Linux more conveniently. Let’s discuss the installation of Deepin Linux on tablets. Specific steps for Linux. Preparation work Before installing Deepin Linux on the tablet, we need to make some preparations. We need to back up important data in the tablet to avoid data loss during the installation process. We need to download the image file of Deepin Linux and write it to to a USB flash drive or SD card for use during the installation process. Next, we can start the installation process. We need to set the tablet to start from the U disk or SD

Git is a fast, reliable, and adaptable distributed version control system. It is designed to support distributed, non-linear workflows, making it ideal for software development teams of all sizes. Each Git working directory is an independent repository with a complete history of all changes and the ability to track versions even without network access or a central server. GitHub is a Git repository hosted on the cloud that provides all the features of distributed revision control. GitHub is a Git repository hosted on the cloud. Unlike Git which is a CLI tool, GitHub has a web-based graphical user interface. It is used for version control, which involves collaborating with other developers and tracking changes to scripts and

PHP7 Installation Directory Configuration Guide PHP is a popular server-side scripting language used to develop dynamic web pages. Currently, the latest version of PHP is PHP7, which introduces many new features and performance optimizations and is the preferred version for many websites and applications. When installing PHP7, it is very important to correctly configure the installation directory. This article will provide you with a detailed guide to configuring the PHP7 installation directory, with specific code examples. To download PHP7 first, you need to download it from the PHP official website (https://www.

Golang Desktop Application Development Guide With the popularity of the Internet and the advent of the digital age, desktop applications are playing an increasingly important role in our lives and work. As a powerful programming language, Golang (Go language) is gradually emerging in the field of desktop application development. This article will introduce you to how to use Golang to develop desktop applications and provide specific code examples to help you get started quickly and master development skills. First, we need to understand some basic concepts and tools. In Gol
