
Prompt Engineering Guide
Aug 28, 2025 · 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 …
Introduction | Prompt Engineering Guide
This comprehensive guide covers the theory and practical aspects of prompt engineering and how to leverage the best prompting techniques to interact and build with LLMs.
Prompting Techniques | Prompt Engineering Guide
While the previous basic examples were fun, in this section we cover more advanced prompting engineering techniques that allow us to achieve more complex tasks and improve reliability …
Basics of Prompting | Prompt Engineering Guide
This approach of designing effective prompts to instruct the model to perform a desired task is what's referred to as prompt engineering in this guide. The example above is a basic …
General Tips for Designing Prompts | Prompt Engineering Guide
You can start with simple prompts and keep adding more elements and context as you aim for better results. Iterating your prompt along the way is vital for this reason. As you read the …
Elements of a Prompt | Prompt Engineering Guide
You do not need all the four elements for a prompt and the format depends on the task at hand. We will touch on more concrete examples in upcoming guides.
Papers | Prompt Engineering Guide
The following are the latest papers (sorted by release date) on prompt engineering for large language models (LLMs). We update the list of papers on a daily/weekly basis.
Tree of Thoughts (ToT) | Prompt Engineering Guide
Hulbert (2023) has proposed Tree-of-Thought Prompting, which applies the main concept from ToT frameworks as a simple prompting technique, getting the LLM to evaluate intermediate …
Examples of Prompts | Prompt Engineering Guide
This section will provide more examples of how to use prompts to achieve different tasks and introduce key concepts along the way. Often, the best way to learn concepts is by going …
Few-Shot Prompting | Prompt Engineering Guide
Few-shot prompting can be used as a technique to enable in-context learning where we provide demonstrations in the prompt to steer the model to better performance.