BasicsPatternsAdvancedExamplesPlaygroundResourcesIndexFAQ

Resources

Discover a curated collection of prompt engineering resources to enhance your AI interactions. From prompt libraries and tools to tutorials, community contributions, and templates, these resources will help you master prompt engineering. Toggle each category to explore more!

Prompt Libraries

Awesome Prompts

A curated collection of prompts for various AI models, including ChatGPT, DALL·E, and more.

Best For: Prompt engineers looking for a wide variety of pre-built prompts to inspire their work.

  • Explore prompts for creative writing (e.g., story generation).
  • Find prompts for problem-solving (e.g., math and logic puzzles).
  • Use prompts for role-playing scenarios (e.g., "Act as a teacher").

Practical Tip: Select a creative writing prompt like "Write a story about a futuristic city," customize it with a specific tone (e.g., "in a dystopian style"), and test it with your AI model.

PromptHero

A platform offering a library of prompts for AI art generation, with a focus on tools like Stable Diffusion and DALL·E.

Best For: Users interested in generating AI art with detailed prompts.

  • Access prompts for specific art styles (e.g., "cyberpunk cityscape").
  • Learn how to structure prompts for visual outputs (e.g., "highly detailed, 4K").
  • Explore community-submitted prompts for inspiration.

Practical Tip: Use a prompt like "a cyberpunk cityscape, neon lights, highly detailed, 4K" to generate an image with DALL·E, then tweak the prompt by adding "rainy atmosphere" for a different effect.

Prompt Libraries

+

Awesome Prompts

A curated collection of prompts for various AI models, including ChatGPT, DALL·E, and more.

Best For: Prompt engineers looking for a wide variety of pre-built prompts to inspire their work.

  • Explore prompts for creative writing (e.g., story generation).
  • Find prompts for problem-solving (e.g., math and logic puzzles).
  • Use prompts for role-playing scenarios (e.g., "Act as a teacher").

Practical Tip: Select a creative writing prompt like "Write a story about a futuristic city," customize it with a specific tone (e.g., "in a dystopian style"), and test it with your AI model.

PromptHero

A platform offering a library of prompts for AI art generation, with a focus on tools like Stable Diffusion and DALL·E.

Best For: Users interested in generating AI art with detailed prompts.

  • Access prompts for specific art styles (e.g., "cyberpunk cityscape").
  • Learn how to structure prompts for visual outputs (e.g., "highly detailed, 4K").
  • Explore community-submitted prompts for inspiration.

Practical Tip: Use a prompt like "a cyberpunk cityscape, neon lights, highly detailed, 4K" to generate an image with DALL·E, then tweak the prompt by adding "rainy atmosphere" for a different effect.

Tools

+

PromptBase

A marketplace for buying and selling prompts for AI models like ChatGPT, DALL·E, and MidJourney.

Best For: Users looking to purchase high-quality prompts or monetize their own prompt creations.

  • Buy prompts for specific tasks (e.g., "generate a business plan").
  • Sell your own prompts to earn money (e.g., a custom "Few-Shot" prompt).
  • Explore prompts for creative and professional use cases.

Practical Tip: Purchase a prompt for generating a business plan, customize it with your industry (e.g., "tech startup"), and use it to create a detailed plan with ChatGPT.

PromptPerfect

An AI-powered tool to optimize and refine prompts for better performance with language models.

Best For: Users who want to improve their prompts automatically for better AI responses.

  • Optimize prompts for clarity and specificity (e.g., refine vague prompts).
  • Generate prompts for specific models (e.g., ChatGPT, GPT-4).
  • Test and compare prompt variations for better results.

Practical Tip: Input a vague prompt like "Write a story," let PromptPerfect refine it to "Write a 500-word fantasy story about a dragon," and test the improved prompt with your AI model.

FlowGPT

A platform for discovering and sharing AI prompts, with a focus on community-driven content.

Best For: Prompt engineers seeking community-shared prompts and ideas.

  • Discover prompts for various tasks (e.g., coding, storytelling).
  • Share your own prompts with the community for feedback.
  • Explore trending prompts to stay updated on popular use cases.

Practical Tip: Find a trending prompt for coding (e.g., "Write a Python script for a calculator"), test it with ChatGPT, and modify it to add new features like a scientific calculator mode.

Tutorials and Guides

+

Learn Prompting

A comprehensive guide to prompt engineering, covering techniques, patterns, and best practices.

Best For: Beginners and intermediate users looking to learn prompt engineering from scratch.

  • Learn core techniques like "Few-Shot" and "Chain-of-Thought" prompting.
  • Explore advanced topics (e.g., prompt chaining, multi-step reasoning).
  • Access practical examples for various AI models (e.g., ChatGPT, DALL·E).

Practical Tip: Follow the "Chain-of-Thought" guide to create a prompt like "Solve this math problem step-by-step: 2x + 3 = 7," and use it to teach the AI to explain its reasoning clearly.

Prompt Engineering Guide by DAIR.AI

An open-source guide to prompt engineering, with tutorials, examples, and research insights.

Best For: Advanced users and researchers interested in the science of prompt engineering.

  • Learn about prompt patterns (e.g., "Zero-Shot", "Few-Shot").
  • Explore research on prompt optimization (e.g., reducing bias in AI responses).
  • Access examples for specific models (e.g., GPT-3, GPT-4).

Practical Tip: Use the guide’s "Zero-Shot" example to create a prompt like "Translate this text to Spanish: [Text]," and test it with your AI model to see how well it performs without examples.

Anthropic Prompt Engineering Guide

A guide by Anthropic for prompt engineering with their Claude model, with transferable techniques for other AI models.

Best For: Users working with Claude or seeking general prompt engineering tips.

  • Learn how to structure prompts for clarity (e.g., using XML tags).
  • Explore techniques for reducing hallucinations (e.g., grounding prompts with facts).
  • Apply tips to other models like ChatGPT (e.g., using clear instructions).

Practical Tip: Use the guide’s XML tag technique: "Write a poem ," and adapt it for ChatGPT to generate a haiku poem.

Community Contributions

+

Reddit - r/PromptEngineering

A Reddit community for sharing prompt engineering tips, tricks, and discussions.

Best For: Prompt engineers seeking community insights and real-world examples.

  • Find user-shared prompts for various tasks (e.g., coding, writing).
  • Join discussions on prompt optimization (e.g., reducing AI bias).
  • Share your own prompts and get feedback from the community.

Practical Tip: Search for a coding prompt like "Write a Python script," test it with ChatGPT, and share your results on the subreddit to get feedback on improving the prompt.

Hacker News - Prompt Engineering Discussions

A platform where prompt engineering discussions often surface, with insights from tech professionals.

Best For: Users interested in cutting-edge prompt engineering trends and ideas.

  • Search for threads on prompt engineering (e.g., "best prompts for GPT-4").
  • Learn from professional insights (e.g., how to handle complex tasks).
  • Join discussions to share your own experiences and learn from others.

Practical Tip: Find a thread on "best prompts for GPT-4," select a prompt like "Generate a marketing plan," customize it for your business, and test it with your AI model.

Templates

+

Prompts.Chat

A collection of prompt templates for ChatGPT, categorized by use case.

Best For: Users looking for ready-to-use prompt templates for ChatGPT.

  • Access templates for creative tasks (e.g., "Write a poem").
  • Find templates for professional tasks (e.g., "Draft an email").
  • Customize templates to fit your specific needs.

Practical Tip: Use a template like "Draft an email to a client," customize it with your client’s details, and use it with ChatGPT to generate a professional email.

OpenAI Prompt Examples

Official prompt examples provided by OpenAI for various use cases with ChatGPT and other models.

Best For: Users seeking official, high-quality prompt templates from OpenAI.

  • Explore examples for conversation (e.g., "Act as a tutor").
  • Find examples for content generation (e.g., "Write a blog post").
  • Use examples as a starting point for your own prompts.

Practical Tip: Use the "Act as a tutor" example, modify it to "Act as a math tutor for a 10th grader," and test it with ChatGPT to explain algebra concepts.

References

Some resources on this page were curated from the Awesome Prompts repository, the Learn Prompting website, and the Prompt Engineering Guide by DAIR.AI project.

Chatbot

...

Welcome to the Prompted Chatbot! How can I assist you today?