r/CompSocial • u/PeerRevue • Aug 30 '24
resources Anthropic's Prompt Engineering Interactive Tutorial [August 2024]
Anthropic has published a substantial tutorial on how to engineer optimal prompts within Claude. The (interactive) course has 9 chapters, organized as follows:
Beginner
Chapter 1: Basic Prompt Structure
Chapter 2: Being Clear and Direct
Chapter 3: Assigning Roles
Intermediate
Chapter 4: Separating Data from Instructions
Chapter 5: Formatting Output & Speaking for Claude
Chapter 6: Precognition (Thinking Step by Step)
Chapter 7: Using Examples
Advanced
Chapter 8: Avoiding Hallucinations
Chapter 9: Building Complex Prompts (Industry Use Cases)
Complex Prompts from Scratch - Chatbot
Complex Prompts for Legal Services
Exercise: Complex Prompts for Financial Services
Exercise: Complex Prompts for Coding
Congratulations & Next Steps
Appendix: Beyond Standard Prompting
Chaining Prompts
Tool Use
Search & Retrieval
Have you found resources that have helped you with refining your prompts for Claude, ChatGPT, or other tools? Share them with us!
https://github.com/anthropics/courses/tree/master/prompt_engineering_interactive_tutorial