Prompt Engineering Guide
Overview
Comprehensive guide to prompt engineering techniques.
Full Description
Prompt Engineering Guide is a comprehensive, continually updated hub for learning how to design effective prompts for large language models. It covers fundamentals through advanced techniques—including zero/few-shot prompting, chain-of-thought, ReAct, self-consistency, and retrieval-augmented generation—paired with step-by-step tutorials and annotated examples for tasks like reasoning, summarization, coding, data extraction, and agent workflows. The site offers reusable templates, prompt patterns and anti-patterns, and practical guidance on system prompts and instruction design across popular APIs and open-source models. Beyond hands-on techniques, the guide curates key research papers, cheat sheets, and a prompt gallery, along with notebooks and references to frameworks such as LangChain and LlamaIndex. Dedicated sections address evaluation and safety, including prompt injection, jailbreaks, and red-teaming strategies, helping practitioners build reliable and secure LLM applications. Maintained by a vibrant community, it’s a trusted resource for developers, researchers, and educators seeking actionable best practices and up-to-date insights in prompt engineering.