Prompt-Engineering-Guide
View on GitHub๐ Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
Maintained guide and course site from DAIR.AI covering prompt engineering, context engineering, RAG and AI agents. Best used as a reference/learning resource for prompting techniques, model notes, papers and notebooks rather than a runnable library.
Use Cases
Learn prompt engineering techniques from zero-shot to tree-of-thoughtsDesign and optimize prompts for LLM applicationsStudy RAG and context engineering patternsReference prompting techniques for AI agent designGenerate synthetic datasets for RAG evaluationApply function calling and tool-use promptingTest and harden prompts against adversarial attacksUnderstand LLM risks, biases and factuality issuesRun hands-on notebooks from a prompt engineering lectureFind research papers, tools and datasets on prompt engineering
Built With
- Language
- MDX
- Frameworks
- Next.js ยท Nextra ยท React
Tags
prompt-engineering ยท context-engineering ยท llm ยท rag ยท agents ยท chain-of-thought ยท few-shot ยท react-prompting ยท tree-of-thoughts ยท adversarial-prompting ยท evaluation ยท education ยท resources ยท generative-ai ยท openai ยท chatgpt