Prompt-Engineering-Guide
๐ Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
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.
How the Prompt Engineering Guide Supports Multiple Language TranslationsLearn how the Prompt Engineering Guide leverages Next.js i18n and Nextra for seamless multiple language translations with locale-aware components and MDX files.
How Next.js and Nextra Power the Prompt Engineering Guide Documentation SiteDiscover how Next.js and Nextra empower the Prompt Engineering Guide documentation site, providing routing, search, and optimized markdown rendering for promptingguide.ai.
Where to Find Code Examples for Prompt Engineering Techniques in the Dair-AI GuideDiscover 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.
Prompt Engineering Guide Development Requirements: Node.js, Next.js, and Nextra SetupLearn Prompt Engineering Guide development requirements including Node.js 18+, pnpm, and Next.js Nextra setup. Build a multilingual static documentation site efficiently.
How to Run the Prompt Engineering Guide Locally: Next.js and Nextra SetupLearn 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.
Adversarial Prompting Techniques: A Complete Guide to LLM Attacks and DefensesExplore adversarial prompting techniques used to attack LLMs. Learn about prompt injection, leaking, and jailbreaking, plus discover essential defense strategies.
Function Calling Explained for LLMs: Architecture and ImplementationLearn how function calling for LLMs generates structured JSON arguments for tools from natural language requests. Discover the architecture and implementation details.
Prompt Engineering Applications in the dair-ai Guide: Data Generation, PAL, and NotebooksExplore prompt engineering applications like synthetic data generation, Program-Aided Language Models PAL, and interactive notebooks in the dair-ai guide. Learn practical techniques.
LLaMA Open-Source Models: Complete Technical Guide to Meta's Foundation Model FamilyExplore 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.
ChatGPT and GPT-4 Prompting: Complete Strategies from the Prompt Engineering GuideMaster 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.
Supported LLM Models in the Prompt Engineering Guide: A Complete Technical ReferenceDiscover 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.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too โ