# Prompt-Engineering-Guide | DAIR.AI | Knowledge Base | Instagit

🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.

GitHub Stars: 71.1k

Repository: https://github.com/dair-ai/Prompt-Engineering-Guide

---

## Articles

### [Academic Papers Linked in the Prompt Engineering Guide: A Complete Bibliography](/dair-ai/Prompt-Engineering-Guide/what-academic-papers-are-linked-in-the-prompt-engineering-guide)

Explore over 50 academic papers linked in the Prompt Engineering Guide covering Chain-of-Thought, ChatGPT evaluation, adversarial safety, and reliability research. Dive into cutting-edge AI techniques.

- Tags: api-reference
- Published: 2026-03-03

### [How the Prompt Engineering Guide Supports Multiple Language Translations](/dair-ai/Prompt-Engineering-Guide/how-does-the-guide-support-multiple-language-translations)

Learn how the Prompt Engineering Guide leverages Next.js i18n and Nextra for seamless multiple language translations with locale-aware components and MDX files.

- Tags: best-practices
- Published: 2026-03-03

### [How Next.js and Nextra Power the Prompt Engineering Guide Documentation Site](/dair-ai/Prompt-Engineering-Guide/what-is-the-role-of-nextjs-and-nextra-in-this-project)

Discover how Next.js and Nextra empower the Prompt Engineering Guide documentation site, providing routing, search, and optimized markdown rendering for promptingguide.ai.

- Tags: architecture
- Published: 2026-03-03

### [Where to Find Code Examples for Prompt Engineering Techniques in the Dair-AI Guide](/dair-ai/Prompt-Engineering-Guide/where-can-i-find-code-examples-for-prompt-engineering-techniques)

Discover prompt engineering code examples in the dair-ai/Prompt-Engineering-Guide repository. Find technique-specific MDX pages, Jupyter notebooks, and Markdown files to enhance your LLM interactions.

- Tags: how-to-guide
- Published: 2026-03-03

### [Prompt Engineering Guide Development Requirements: Node.js, Next.js, and Nextra Setup](/dair-ai/Prompt-Engineering-Guide/what-are-the-development-requirements-for-this-repository)

Learn Prompt Engineering Guide development requirements including Node.js 18+, pnpm, and Next.js Nextra setup. Build a multilingual static documentation site efficiently.

- Tags: getting-started
- Published: 2026-03-03

### [How to Run the Prompt Engineering Guide Locally: Next.js and Nextra Setup](/dair-ai/Prompt-Engineering-Guide/how-to-run-the-prompt-engineering-guide-locally)

Learn to run the Prompt Engineering Guide locally. Follow simple steps to set up Next.js and Nextra for local development. Start the local server with pnpm dev.

- Tags: how-to-guide
- Published: 2026-03-03

### [Adversarial Prompting Techniques: A Complete Guide to LLM Attacks and Defenses](/dair-ai/Prompt-Engineering-Guide/what-are-adversarial-prompting-techniques)

Explore adversarial prompting techniques used to attack LLMs. Learn about prompt injection, leaking, and jailbreaking, plus discover essential defense strategies.

- Tags: deep-dive
- Published: 2026-03-03

### [Function Calling Explained for LLMs: Architecture and Implementation](/dair-ai/Prompt-Engineering-Guide/how-is-function-calling-explained-for-llms)

Learn how function calling for LLMs generates structured JSON arguments for tools from natural language requests. Discover the architecture and implementation details.

- Tags: deep-dive
- Published: 2026-03-03

### [Prompt Engineering Applications in the dair-ai Guide: Data Generation, PAL, and Notebooks](/dair-ai/Prompt-Engineering-Guide/what-applications-of-prompt-engineering-are-covered)

Explore prompt engineering applications like synthetic data generation, Program-Aided Language Models PAL, and interactive notebooks in the dair-ai guide. Learn practical techniques.

- Tags: tutorial
- Published: 2026-03-03

### [LLaMA Open-Source Models: Complete Technical Guide to Meta's Foundation Model Family](/dair-ai/Prompt-Engineering-Guide/what-information-is-provided-about-llama-open-source-models)

Explore LLaMA open-source models with our technical guide. Learn about Meta's foundation models, architectures, training, and fine-tuning techniques. Get practical implementation insights now.

- Tags: deep-dive
- Published: 2026-03-03

### [ChatGPT and GPT-4 Prompting: Complete Strategies from the Prompt Engineering Guide](/dair-ai/Prompt-Engineering-Guide/how-is-chatgpt-and-gpt-4-prompting-discussed)

Master ChatGPT and GPT-4 prompting with the Prompt Engineering Guide. Discover strategies for conversation formats, system messages, JSON mode, function calling, and multimodal AI with code examples.

- Tags: tutorial
- Published: 2026-03-03

### [Supported LLM Models in the Prompt Engineering Guide: A Complete Technical Reference](/dair-ai/Prompt-Engineering-Guide/what-are-the-supported-llm-models-in-the-prompt-engineering-guide)

Discover all 16+ supported LLM models in the Prompt Engineering Guide. Explore GPT-4, LLaMA, Mistral, Gemini, Sora & more. Get technical details on capabilities, limits, & strategies.

- Tags: api-reference
- Published: 2026-03-03

### [What is ReAct Prompting? A Complete Guide to Reasoning + Acting](/dair-ai/Prompt-Engineering-Guide/what-is-react-prompting)

Understand ReAct prompting, a powerful technique combining reasoning and actions to solve complex tasks. Learn the Thought Action Observation loop for dynamic problem-solving.

- Tags: deep-dive
- Published: 2026-03-03

### [What Is Retrieval Augmented Generation (RAG) in Prompt Engineering?](/dair-ai/Prompt-Engineering-Guide/what-is-retrieval-augmented-generation-rag-in-prompt-engineering)

Learn what Retrieval Augmented Generation RAG is in prompt engineering. Ground LLM outputs in current external knowledge for more accurate, up-to-date responses.

- Tags: deep-dive
- Published: 2026-03-03

### [Tree of Thoughts vs Chain of Thought: How ToT Transforms LLM Reasoning Architecture](/dair-ai/Prompt-Engineering-Guide/how-does-tree-of-thoughts-tot-prompting-differ-from-cot)

Discover how Tree of Thoughts ToT enhances LLM reasoning by transforming linear Chain of Thought CoT into a searchable tree for systematic exploration and backtracking. Learn the key differences

- Tags: deep-dive
- Published: 2026-03-03

### [What Is Zero-Shot Prompting? A Complete Guide to LLM Instruction Without Examples](/dair-ai/Prompt-Engineering-Guide/what-is-zero-shot-prompting)

Discover zero-shot prompting, a powerful LLM technique. Learn how to instruct language models for tasks without needing examples, leveraging their pre-trained knowledge effectively.

- Tags: tutorial
- Published: 2026-03-03

### [How Few-Shot Prompting Works in LLMs: In-Context Learning Explained](/dair-ai/Prompt-Engineering-Guide/how-does-few-shot-prompting-work-in-llms)

Understand how few-shot prompting works in LLMs. Learn about in-context learning, where models infer patterns from a few examples in the prompt without needing parameter updates. Boost your AI capabilities today.

- Tags: deep-dive
- Published: 2026-03-03

### [Chain-of-Thought (CoT) Prompting Techniques: Few-Shot, Zero-Shot, and Self-Consistency Explained](/dair-ai/Prompt-Engineering-Guide/what-are-chain-of-thought-cot-prompting-techniques)

Unlock advanced LLM reasoning with Chain-of-Thought prompting. Explore few-shot, zero-shot, and self-consistency techniques for enhanced accuracy in complex tasks.

- Tags: deep-dive
- Published: 2026-03-03

### [What Are the Basic Concepts of Prompt Engineering? A Complete Guide to the DAIR-AI Repository](/dair-ai/Prompt-Engineering-Guide/what-are-the-basic-concepts-of-prompt-engineering-covered)

Learn prompt engineering basics: instruction design, LLM parameters, few-shot examples, and core prompt elements. Optimize your LLM outputs with this complete guide.

- Tags: tutorial
- Published: 2026-03-03

### [Main Sections of Content in the Prompt Engineering Guide: A Complete Overview](/dair-ai/Prompt-Engineering-Guide/what-are-the-main-sections-of-content-in-the-prompt-engineering-guide)

Explore the Prompt Engineering Guide's structure. Discover seven website sections and eight technical Markdown guides for a comprehensive understanding of prompt engineering.

- Tags: overview
- Published: 2026-03-03

### [How the Prompt Engineering Guide Repository Is Structured: A Complete Technical Breakdown](/dair-ai/Prompt-Engineering-Guide/how-is-the-prompt-engineering-guide-repository-structured)

Explore the dair-ai Prompt Engineering Guide structure. Learn about its Next.js/Nextra architecture, MDX content, React components, guides, and Jupyter notebooks across 13 locales.

- Tags: architecture
- Published: 2026-03-03

### [What Technology Powers the Prompt Engineering Guide? Next.js, Nextra, and React Explained](/dair-ai/Prompt-Engineering-Guide/what-technology-is-the-prompt-engineering-guide-built-with)

Discover the technologies behind the Prompt Engineering Guide. Learn how Next.js, Nextra, and React create this advanced documentation site, optimized for content and internationalization.

- Tags: deep-dive
- Published: 2026-03-03

