You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Elvis Saravia 94d699c822 fix 3 days ago
.github Create FUNDING.yml 1 year ago
components prompt hub 1 month ago
guides Update 11 months ago
img fix 5 days ago
lecture add lecture slides 1 year ago
notebooks sora 1 week ago
pages fix 3 days ago
public add favicon 12 months ago
.gitignore olmo 4 weeks ago
CITATION.cff Update CITATION.cff 1 year ago Create 1 year ago course info 2 weeks ago
middleware.js multilanguage support 11 months ago
next-env.d.ts add site support 12 months ago
next.config.js function calling notes 2 months ago
package-lock.json function calling notes 2 months ago
package.json function calling notes 2 months ago
pnpm-lock.yaml fix lock 2 months ago
theme.config.tsx function calling notes 2 months ago
tsconfig.json added copy clipboard 5 months ago

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've partnered with Maven to deliver the following live cohort-based courses on prompt engineering:

  • LLMs for Everyone (Beginner) - learn about the latest prompt engineering techniques and how to effectively apply them to real-world use cases.

  • Prompt Engineering for LLMs (Advanced) - learn advanced prompt engineering techniques to build complex use cases and applications with LLMs.

Happy Prompting!

Announcements / Updates

  • 🎓 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 Prompt Engineering Lecture went live here

Join our Discord

Follow us on Twitter

Subscribe to our Newsletter


You can also find the most up-to-date guides on our new website


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/


Some places where we have been featured:

If you are using the guide for your work or research, please cite us as follows:

author = {Saravia, Elvis},
journal = {},
month = {12},
title = {{Prompt Engineering Guide}},
year = {2022}


MIT License

Feel free to open a PR if you think something is missing here. Always welcome feedback and suggestions. Just open an issue!