| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:b6881902-2d6c-53c4-47be-65069efad36d |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | B2A4:9B720:3E8C4AA:517B452:697DA255 |
| html-safe-nonce | 0b706d2c4cd3073df7898d8c3333c511d2224d51b8ab4d97eab1e78e78e64c29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkE0OjlCNzIwOjNFOEM0QUE6NTE3QjQ1Mjo2OTdEQTI1NSIsInZpc2l0b3JfaWQiOiI4MTU3MDM0MjY1Nzk2NTE4NDg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2f64dde0910d1cf0e9bc7ef3c520b9dec283df65908989b2fd25b3b1b06552b0 |
| hovercard-subject-tag | repository:602078051 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/G2OPS/Prompt-Engineering-Guide |
| twitter:image | https://opengraph.githubassets.com/8a212f1a80e56798901ae2617853c47c0431bddfa6004756c76e1b36258b6756/G2OPS/Prompt-Engineering-Guide |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a212f1a80e56798901ae2617853c47c0431bddfa6004756c76e1b36258b6756/G2OPS/Prompt-Engineering-Guide |
| og:image:alt | :octopus: Guides, papers, and resources for prompt engineering - G2OPS/Prompt-Engineering-Guide |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/G2OPS/Prompt-Engineering-Guide git https://github.com/G2OPS/Prompt-Engineering-Guide.git |
| octolytics-dimension-user_id | 39387245 |
| octolytics-dimension-user_login | G2OPS |
| octolytics-dimension-repository_id | 602078051 |
| octolytics-dimension-repository_nwo | G2OPS/Prompt-Engineering-Guide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 579082810 |
| octolytics-dimension-repository_parent_nwo | dair-ai/Prompt-Engineering-Guide |
| octolytics-dimension-repository_network_root_id | 579082810 |
| octolytics-dimension-repository_network_root_nwo | dair-ai/Prompt-Engineering-Guide |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FG2OPS%2FPrompt-Engineering-Guide |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FG2OPS%2FPrompt-Engineering-Guide |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=G2OPS%2FPrompt-Engineering-Guide |
| Reload | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide |
| Reload | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide |
| Reload | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide |
|
G2OPS
| https://patch-diff.githubusercontent.com/G2OPS |
| Prompt-Engineering-Guide | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide |
| dair-ai/Prompt-Engineering-Guide | https://patch-diff.githubusercontent.com/dair-ai/Prompt-Engineering-Guide |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2FG2OPS%2FPrompt-Engineering-Guide |
|
Fork
0
| https://patch-diff.githubusercontent.com/login?return_to=%2FG2OPS%2FPrompt-Engineering-Guide |
|
Star
0
| https://patch-diff.githubusercontent.com/login?return_to=%2FG2OPS%2FPrompt-Engineering-Guide |
|
MIT license
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/LICENSE.md |
|
0
stars
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/stargazers |
|
7.5k
forks
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/forks |
|
Branches
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/branches |
|
Tags
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/tags |
|
Activity
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/activity |
|
Star
| https://patch-diff.githubusercontent.com/login?return_to=%2FG2OPS%2FPrompt-Engineering-Guide |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2FG2OPS%2FPrompt-Engineering-Guide |
|
Code
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide |
|
Pull requests
0
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/projects |
|
Security
0
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/security |
|
Insights
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/pulse |
|
Code
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide |
|
Pull requests
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/actions |
|
Projects
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/projects |
|
Security
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/security |
|
Insights
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/pulse |
| Branches | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/branches |
| Tags | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/tags |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/branches |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/tags |
| 200 Commits | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/commits/main/ |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/commits/main/ |
| .github | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/tree/main/.github |
| .github | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/tree/main/.github |
| guides | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/tree/main/guides |
| guides | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/tree/main/guides |
| CITATION.cff | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/CITATION.cff |
| CITATION.cff | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/CITATION.cff |
| LICENSE.md | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/LICENSE.md |
| LICENSE.md | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/LICENSE.md |
| README.md | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/README.md |
| README.md | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/README.md |
| README | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide |
| License | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#prompt-engineering-guide |
| Twitter | https://twitter.com/dair_ai |
| Join our Discord | https://discord.gg/SKgkVT8BGJ |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#table-of-contents |
| Guides | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#guides |
| Papers | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#papers |
| Tools & Libraries | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#tools--libraries |
| Datasets | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#datasets |
| Blog, Guides, Tutorials and Other Readings | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#blog-guides-tutorials-and-other-readings |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#guides- |
| Prompt Engineering - Introduction | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/guides/prompts-intro.md |
| Prompt Engineering - Basic Usage | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/guides/prompts-basic-usage.md |
| Prompt Engineering - Advanced Usage | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/guides/prompts-advanced-usage.md |
| Prompt Engineering - Adversarial Prompts | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/guides/prompt-adversarial.md |
| Prompt Engineering - Miscellaneous Topics | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/blob/main/guides/prompt-miscellaneous.md |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#papers |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#sorted-by-release-date |
| A Survey for In-context Learning | https://arxiv.org/abs/2301.00234 |
| Towards Reasoning in Large Language Models: A Survey | https://arxiv.org/abs/2212.10403 |
| Emergent Abilities of Large Language Models | https://arxiv.org/abs/2206.07682 |
| A Taxonomy of Prompt Modifiers for Text-To-Image Generation | https://arxiv.org/abs/2204.13988 |
| Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing | https://arxiv.org/abs/2107.13586 |
| SwitchPrompt: Learning Domain-Specific Gated Soft Prompts for Classification in Low-Resource Domains | https://arxiv.org/abs/2302.06868 |
| Evaluating the Robustness of Discrete Prompts | https://arxiv.org/abs/2302.05619 |
| Compositional Exemplars for In-context Learning | https://arxiv.org/abs/2302.05698 |
| Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discovery | https://arxiv.org/abs/2302.03668 |
| Multimodal Chain-of-Thought Reasoning in Language Models | https://arxiv.org/abs/2302.00923 |
| Large Language Models Can Be Easily Distracted by Irrelevant Context | https://arxiv.org/abs/2302.00093 |
| Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Models | https://arxiv.org/abs/2302.00618 |
| Progressive Prompts: Continual Learning for Language Models | https://arxiv.org/abs/2301.12314 |
| Batch Prompting: Efficient Inference with LLM APIs | https://arxiv.org/abs/2301.08721 |
| On Second Thought, Let's Not Think Step by Step! Bias and Toxicity in Zero-Shot Reasoning | https://arxiv.org/abs/2212.08061 |
| Constitutional AI: Harmlessness from AI Feedback | https://arxiv.org/abs/2212.08073 |
| Successive Prompting for Decomposing Complex Questions | https://arxiv.org/abs/2212.04092 |
| Discovering Language Model Behaviors with Model-Written Evaluations | https://arxiv.org/abs/2212.09251 |
| Structured Prompting: Scaling In-Context Learning to 1,000 Examples | https://arxiv.org/abs/2212.06713 |
| PAL: Program-aided Language Models | https://arxiv.org/abs/2211.10435 |
| Large Language Models Are Human-Level Prompt Engineers | https://arxiv.org/abs/2211.01910 |
| Ignore Previous Prompt: Attack Techniques For Language Models | https://arxiv.org/abs/2211.09527 |
| Machine Generated Text: A Comprehensive Survey of Threat Models and Detection Methods | https://arxiv.org/abs/2210.07321 |
| Teaching Algorithmic Reasoning via In-context Learning | https://arxiv.org/abs/2211.09066 |
| Enhancing Self-Consistency and Performance of Pre-Trained Language Models through Natural Language Inference | https://arxiv.org/abs/2211.11875 |
| Ask Me Anything: A simple strategy for prompting language models | https://paperswithcode.com/paper/ask-me-anything-a-simple-strategy-for |
| ReAct: Synergizing Reasoning and Acting in Language Models | https://arxiv.org/abs/2210.03629 |
| Prompting GPT-3 To Be Reliable | https://arxiv.org/abs/2210.09150 |
| Decomposed Prompting: A Modular Approach for Solving Complex Tasks | https://arxiv.org/abs/2210.02406 |
| Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thought | https://arxiv.org/abs/2210.01240v3 |
| Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examples | https://arxiv.org/abs/2209.02128 |
| Promptagator: Few-shot Dense Retrieval From 8 Examples | https://arxiv.org/abs/2209.11755 |
| On the Advance of Making Language Models Better Reasoners | https://arxiv.org/abs/2206.02336 |
| Large Language Models are Zero-Shot Reasoners | https://arxiv.org/abs/2205.11916 |
| MRKL Systems: A modular, neuro-symbolic architecture that combines large language models, external knowledge sources and discrete reasoning | https://arxiv.org/abs/2205.00445 |
| Toxicity Detection with Generative Prompt-based Inference | https://arxiv.org/abs/2205.12390 |
| The Unreliability of Explanations in Few-shot Prompting for Textual Reasoning | https://arxiv.org/abs/2205.03401 |
| A Taxonomy of Prompt Modifiers for Text-To-Image Generation | https://arxiv.org/abs/2204.13988 |
| PromptChainer: Chaining Large Language Model Prompts through Visual Programming | https://arxiv.org/abs/2203.06566 |
| Self-Consistency Improves Chain of Thought Reasoning in Language Models | https://arxiv.org/abs/2203.11171 |
| Rethinking the Role of Demonstrations: What Makes In-Context Learning Work? | https://arxiv.org/abs/2202.12837 |
| Chain of Thought Prompting Elicits Reasoning in Large Language Models | https://arxiv.org/abs/2201.11903 |
| Show Your Work: Scratchpads for Intermediate Computation with Language Models | https://arxiv.org/abs/2112.00114 |
| Generated Knowledge Prompting for Commonsense Reasoning | https://arxiv.org/abs/2110.08387 |
| Reframing Instructional Prompts to GPTk's Language | https://arxiv.org/abs/2109.07830 |
| Design Guidelines for Prompt Engineering Text-to-Image Generative Models | https://arxiv.org/abs/2109.06977 |
| Making Pre-trained Language Models Better Few-shot Learners | https://aclanthology.org/2021.acl-long.295 |
| Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity | https://arxiv.org/abs/2104.08786 |
| BERTese: Learning to Speak to BERT | https://aclanthology.org/2021.eacl-main.316 |
| The Power of Scale for Parameter-Efficient Prompt Tuning | https://arxiv.org/abs/2104.08691 |
| Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigm | https://arxiv.org/abs/2102.07350 |
| Calibrate Before Use: Improving Few-Shot Performance of Language Models | https://arxiv.org/abs/2102.09690 |
| Prefix-Tuning: Optimizing Continuous Prompts for Generation | https://arxiv.org/abs/2101.00190 |
| AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts | https://arxiv.org/abs/2010.15980 |
| Language Models are Few-Shot Learners | https://arxiv.org/abs/2005.14165 |
| How Can We Know What Language Models Know? | https://direct.mit.edu/tacl/article/doi/10.1162/tacl_a_00324/96460/How-Can-We-Know-What-Language-Models-Know |
| Prompting for Multimodal Hateful Meme Classification | https://arxiv.org/abs/2302.04156 |
| PLACES: Prompting Language Models for Social Conversation Synthesis | https://arxiv.org/abs/2302.03269 |
| Commonsense-Aware Prompting for Controllable Empathetic Dialogue Generation | https://arxiv.org/abs/2302.01441 |
| Crawling the Internal Knowledge-Base of Language Models | https://arxiv.org/abs/2301.12810 |
| Legal Prompt Engineering for Multilingual Legal Judgement Prediction | https://arxiv.org/abs/2212.02199 |
| Investigating Prompt Engineering in Diffusion Models | https://arxiv.org/abs/2211.15462 |
| Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering | https://arxiv.org/abs/2209.09513v2 |
| Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Language | https://arxiv.org/abs/2210.15157 |
| Piloting Copilot and Codex: Hot Temperature, Cold Prompts, or Black Magic? | https://arxiv.org/abs/2210.14699 |
| Plot Writing From Scratch Pre-Trained Language Models | https://aclanthology.org/2022.inlg-main.5 |
| Chain-of-ThoughtsPapers | https://github.com/Timothyxxx/Chain-of-ThoughtsPapers |
| Papers with Code | https://paperswithcode.com/task/prompt-engineering |
| Prompt Papers | https://github.com/thunlp/PromptPapers#papers |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#tools--libraries |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#sorted-by-name |
| AI Test Kitchen | https://aitestkitchen.withgoogle.com |
| betterprompt | https://github.com/krrishdholakia/betterprompt |
| DreamStudio | https://beta.dreamstudio.ai |
| DUST | https://dust.tt |
| Dyno | https://trydyno.com |
| EveryPrompt | https://www.everyprompt.com |
| GPT Index | https://github.com/jerryjliu/gpt_index |
| GPTTools | https://gpttools.com/comparisontool |
| hwchase17/adversarial-prompts | https://github.com/hwchase17/adversarial-prompts |
| Interactive Composition Explorer | https://github.com/oughtinc/ice |
| LangChain | https://github.com/hwchase17/langchain |
| LearnGPT | https://www.learngpt.com |
| Lexica | https://lexica.art |
| loom | https://github.com/socketteer/loom |
| Metaprompt | https://metaprompt.vercel.app/?task=gpt |
| OpenAI Playground | https://beta.openai.com/playground |
| OpenPrompt | https://github.com/thunlp/OpenPrompt |
| Playground | https://playgroundai.com |
| Prodia | https://app.prodia.com/#/ |
| Prompt Base | https://promptbase.com |
| Prompt Engine | https://github.com/microsoft/prompt-engine |
| Prompt Generator for OpenAI's DALL-E 2 | http://dalle2-prompt-generator.s3-website-us-west-2.amazonaws.com |
| Promptable | https://promptable.ai |
| PromptInject | https://github.com/agencyenterprise/PromptInject |
| Prompts.ai | https://github.com/sevazhidkov/prompts-ai |
| PromptSource | https://github.com/bigscience-workshop/promptsource |
| Scale SpellBook | https://scale.com/spellbook |
| sharegpt | https://sharegpt.com |
| ThoughtSource | https://github.com/OpenBioLink/ThoughtSource |
| Visual Prompt Builder | https://tools.saxifrage.xyz/prompt |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#datasets |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#sorted-by-name-1 |
| Anthropic's Red Team dataset | https://github.com/anthropics/hh-rlhf/tree/master/red-team-attempts |
| (paper) | https://arxiv.org/abs/2209.07858 |
| Awesome ChatGPT Prompts | https://huggingface.co/datasets/fka/awesome-chatgpt-prompts |
| DiffusionDB | https://github.com/poloclub/diffusiondb |
| Midjourney Prompts | https://huggingface.co/datasets/succinctly/midjourney-prompts |
| P3 - Public Pool of Prompts | https://huggingface.co/datasets/bigscience/P3 |
| PartiPrompts | https://parti.research.google |
| Real Toxicity Prompts | https://allenai.org/data/real-toxicity-prompts |
| Stable Diffusion Dataset | https://huggingface.co/datasets/Gustavosta/Stable-Diffusion-Prompts |
| WritingPrompts | https://www.reddit.com/r/WritingPrompts |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#blog-guides-tutorials-and-other-readings |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#sorted-by-name-2 |
| 3 Principles for prompt engineering with GPT-3 | https://www.linkedin.com/pulse/3-principles-prompt-engineering-gpt-3-ben-whately |
| A beginner-friendly guide to generative language models - LaMBDA guide | https://aitestkitchen.withgoogle.com/how-lamda-works |
| A Complete Introduction to Prompt Engineering for Large Language Models | https://www.mihaileric.com/posts/a-complete-introduction-to-prompt-engineering |
| A Generic Framework for ChatGPT Prompt Engineering | https://medium.com/@thorbjoern.heise/a-generic-framework-for-chatgpt-prompt-engineering-7097f6513a0b |
| AI Content Generation | https://www.jonstokes.com/p/ai-content-generation-part-1-machine |
| Awesome ChatGPT Prompts | https://github.com/f/awesome-chatgpt-prompts |
| Best 100+ Stable Diffusion Prompts | https://mpost.io/best-100-stable-diffusion-prompts-the-most-beautiful-ai-text-to-image-prompts |
| Best practices for prompt engineering with OpenAI API | https://help.openai.com/en/articles/6654000-best-practices-for-prompt-engineering-with-openai-api |
| ChatGPT, AI and GPT-3 Apps and use cases | https://gpt3demo.com |
| CMU Advanced NLP 2022: Prompting | https://youtube.com/watch?v=5ef83Wljm-M&feature=shares |
| Curtis64's set of prompt gists | https://gist.github.com/Curtis-64 |
| DALL·E 2 Prompt Engineering Guide | https://docs.google.com/document/d/11WlzjBT0xRpQhP9tFMtxzd0q6ANIdHPUBkMV-YB043U/edit |
| DALLE Prompt Book | https://dallery.gallery/the-dalle-2-prompt-book |
| Diffusion Models: A Practical Guide | https://scale.com/guides/diffusion-models-guide |
| Exploiting GPT-3 Prompts | https://twitter.com/goodside/status/1569128808308957185 |
| Exploring Prompt Injection Attacks | https://research.nccgroup.com/2022/12/05/exploring-prompt-injection-attacks |
| Extrapolating to Unnatural Language Processing with GPT-3's In-context Learning: The Good, the Bad, and the Mysterious | http://ai.stanford.edu/blog/in-context-learning |
| Generative AI with Cohere: Part 1 - Model Prompting | https://txt.cohere.ai/generative-ai-part-1 |
| Giving GPT-3 a Turing Test | https://lacker.io/ai/2020/07/06/giving-gpt-3-a-turing-test.html |
| GPT3 and Prompts: A quick primer | https://buildspace.so/notes/intro-to-gpt3-prompts |
| How to Draw Anything | https://andys.page/posts/how-to-draw |
| How to get images that don't suck | https://www.reddit.com/r/StableDiffusion/comments/x41n87/how_to_get_images_that_dont_suck_a |
| How to write good prompts | https://andymatuschak.org/prompts |
| Language Models and Prompt Engineering: Systematic Survey of Prompting Methods in NLP | https://youtube.com/watch?v=OsbUfL8w-mo&feature=shares |
| Learn Prompting | https://learnprompting.org |
| Methods of prompt programming | https://generative.ink/posts/methods-of-prompt-programming |
| Mysteries of mode collapse | https://www.lesswrong.com/posts/t9svvNPNmFf5Qa3TA/mysteries-of-mode-collapse |
| NLP for Text-to-Image Generators: Prompt Analysis | https://heartbeat.comet.ml/nlp-for-text-to-image-generators-prompt-analysis-part-1-5076a44d8365 |
| Notes for Prompt Engineering by sw-yx | https://github.com/sw-yx/ai-notes |
| OpenAI Cookbook | https://github.com/openai/openai-cookbook |
| OpenAI Prompt Examples for several applications | https://platform.openai.com/examples |
| Pretrain, Prompt, Predict - A New Paradigm for NLP | http://pretrain.nlpedia.ai |
| Prompt Engineering 101 - Introduction and resources | https://www.linkedin.com/pulse/prompt-engineering-101-introduction-resources-amatriain |
| Prompt Engineering 101: Autocomplete, Zero-shot, One-shot, and Few-shot prompting | https://youtube.com/watch?v=v2gD8BHOaX4&feature=shares |
| Prompt Engineering 101 | https://humanloop.com/blog/prompt-engineering-101 |
| Prompt Engineering - A new profession ? | https://www.youtube.com/watch?v=w102J3_9Bcs&ab_channel=PatrickDebois |
| Prompt Engineering by co:here | https://docs.cohere.ai/docs/prompt-engineering |
| Prompt Engineering by Microsoft | https://microsoft.github.io/prompt-engineering |
| Prompt engineering davinci-003 on our own docs for automated support (Part I) | https://www.patterns.app/blog/2022/12/21/finetune-llm-tech-support |
| Prompt Engineering Guide: How to Engineer the Perfect Prompts | https://richardbatt.co.uk/prompt-engineering-guide-how-to-engineer-the-perfect-prompts |
| Prompt Engineering in GPT-3 | https://www.analyticsvidhya.com/blog/2022/05/prompt-engineering-in-gpt-3 |
| Prompt Engineering Template | https://docs.google.com/spreadsheets/d/1-snKDn38-KypoYCk9XLPg799bHcNFSBAVu2HVvFEAkA/edit#gid=0 |
| Prompt Engineering Topic by GitHub | https://github.com/topics/prompt-engineering |
| Prompt Engineering: From Words to Art | https://www.saxifrage.xyz/post/prompt-engineering |
| Prompt injection attacks against GPT-3 | https://simonwillison.net/2022/Sep/12/prompt-injection |
| Prompt injection to read out the secret OpenAI API key | https://twitter.com/ludwig_stumpp/status/1619701277419794435?s=20&t=GtoMlmYCSt-UmvjqJVbBSA |
| Prompting in NLP: Prompt-based zero-shot learning | https://savasy-22028.medium.com/prompting-in-nlp-prompt-based-zero-shot-learning-3f34bfdb2b72 |
| Prompting Methods with Language Models and Their Applications to Weak Supervision | https://snorkel.ai/prompting-methods-with-language-models-nlp |
| Prompts as Programming by Gwern | https://www.gwern.net/GPT-3#prompts-as-programming |
| Reverse Prompt Engineering for Fun and (no) Profit | https://lspace.swyx.io/p/reverse-prompt-eng |
| Simulators | https://www.lesswrong.com/posts/vJFdjigzmcXMhNTsx/simulators |
| Start with an Instruction | https://beta.openai.com/docs/quickstart/start-with-an-instruction |
| Talking to machines: prompt engineering & injection | https://artifact-research.com/artificial-intelligence/talking-to-machines-prompt-engineering-injection |
| the Book - Fed Honeypot | https://fedhoneypot.notion.site/25fdbdb69e9e44c6877d79e18336fe05?v=1d2bf4143680451986fd2836a04afbf4 |
| The ChatGPT Prompt Book | https://docs.google.com/presentation/d/17b_ocq-GL5lhV_bYSShzUgxL02mtWDoiw9xEroJ5m3Q/edit#slide=id.gc6f83aa91_0_79 |
| Using GPT-Eliezer against ChatGPT Jailbreaking | https://www.alignmentforum.org/posts/pNcFYZnPdXyL2RfgA/using-gpt-eliezer-against-chatgpt-jailbreaking |
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#lecture--tutorial |
|
Readme
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#readme-ov-file |
|
MIT license
| https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide#MIT-1-ov-file |
| Please reload this page | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide |
|
Activity | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/activity |
|
Custom properties | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/custom-properties |
|
0
stars | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/stargazers |
|
0
watching | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/watchers |
|
0
forks | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/forks |
|
Report repository
| https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FG2OPS%2FPrompt-Engineering-Guide&report=G2OPS+%28user%29 |
| Releases | https://patch-diff.githubusercontent.com/G2OPS/Prompt-Engineering-Guide/releases |
| Packages
0 | https://patch-diff.githubusercontent.com/orgs/G2OPS/packages?repo_name=Prompt-Engineering-Guide |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |