# Prompt Engineering Guide This guide contains a non-exhaustive set of learning guides and tools about prompt engineering. It includes several materials, guides, examples, papers, examples, and much more. The intention behind this repo is not to oversell prompt engineering, it's more intented to be used a research and educational reference for practitioners and developers. ## Papers - [Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing](https://arxiv.org/abs/2107.13586) - [A Taxonomy of Prompt Modifiers for Text-To-Image Generation](https://arxiv.org/abs/2204.13988) ## Tools You can use the tools below to test out prompts and conduct research - [OpenAI Playground](https://beta.openai.com/playground) - [GPTTools](https://gpttools.com/comparisontool) - [Lexica](https://lexica.art/) - [Playground](https://playgroundai.com/) - [Visual Prompt Builder](https://tools.saxifrage.xyz/prompt) - [Prompt Generator for OpenAI's DALL-E 2](http://dalle2-prompt-generator.s3-website-us-west-2.amazonaws.com/) - [AI Test Kitchen](https://aitestkitchen.withgoogle.com/) - [Prompt Engine](https://github.com/microsoft/prompt-engine) - [PromptSource](PromptSource) ## Datasets - [PartiPrompts](https://parti.research.google/) - [Real Toxicity Prompts](https://allenai.org/data/real-toxicity-prompts) - [P3](Public Pool of Prompts) - [WritingPrompts](WritingPrompts) ## Guides - [Prompt Engineering by co:here](https://docs.cohere.ai/docs/prompt-engineering) - [Prompt Engineering by Microsoft](https://microsoft.github.io/prompt-engineering/) - [Start with an Instruction](https://beta.openai.com/docs/quickstart/start-with-an-instruction) - [DALLE Prompt Book](https://dallery.gallery/the-dalle-2-prompt-book/) - [DALLĀ·E 2 Prompt Engineering Guide](https://docs.google.com/document/d/11WlzjBT0xRpQhP9tFMtxzd0q6ANIdHPUBkMV-YB043U/edit#) - [Learn Prompting](https://learnprompting.org/) - [Prompt Engineering Topic by GitHub](https://github.com/topics/prompt-engineering) - [Prompt Engineering Template](https://docs.google.com/spreadsheets/d/1-snKDn38-KypoYCk9XLPg799bHcNFSBAVu2HVvFEAkA/edit#gid=0) - [Awesome ChatGPT Prompts](https://github.com/f/awesome-chatgpt-prompts) - [Prompt Engineering: From Words to Art](https://www.saxifrage.xyz/post/prompt-engineering) - [A beginner-friendly guide to generative language models - LaMBDA guide](https://aitestkitchen.withgoogle.com/how-lamda-works) ## Blog and Other Readings - [Giving GPT-3 a Turing Test](https://lacker.io/ai/2020/07/06/giving-gpt-3-a-turing-test.html) - [Prompts as Programming by Gwern](https://www.gwern.net/GPT-3#prompts-as-programming) - [AI Content Generation](https://www.jonstokes.com/p/ai-content-generation-part-1-machine) - [How to Draw Anything](https://andys.page/posts/how-to-draw/) - [How to write good prompts](https://andymatuschak.org/prompts/) - [Prompting Methods with Language Models and Their Applications to Weak Supervision](https://snorkel.ai/prompting-methods-with-language-models-nlp/) - [How to get images that don't suck](https://www.reddit.com/r/StableDiffusion/comments/x41n87/how_to_get_images_that_dont_suck_a/) - [Best 100+ Stable Diffusion Prompts](https://mpost.io/best-100-stable-diffusion-prompts-the-most-beautiful-ai-text-to-image-prompts/) - [Notes for Prompt Engineering by sw-yx](https://github.com/sw-yx/ai-notes) ## Courses/Lectures