prompt-eng-interactive-tutorial README

The project's README from github.com/anthropics/prompt-eng-interactive-tutorial. As one markdown file: README.md.

Welcome to Anthropic's Prompt Engineering Interactive Tutorial

Course introduction and goals

This course is intended to provide you with a comprehensive step-by-step understanding of how to engineer optimal prompts within Claude.

After completing this course, you will be able to:

Course structure and content

This course is structured to allow you many chances to practice writing and troubleshooting prompts yourself. The course is broken up into 9 chapters with accompanying exercises, as well as an appendix of even more advanced methods. It is intended for you to work through the course in chapter order.

Each lesson has an "Example Playground" area at the bottom where you are free to experiment with the examples in the lesson and see for yourself how changing prompts can change Claude's responses. There is also an answer key.

Note: This tutorial uses our smallest, fastest, and cheapest model, Claude 3 Haiku. Anthropic has two other models, Claude 3 Sonnet and Claude 3 Opus, which are more intelligent than Haiku, with Opus being the most intelligent.

This tutorial also exists on Google Sheets using Anthropic's Claude for Sheets extension. We recommend using that version as it is more user friendly.

When you are ready to begin, go to 01_Basic Prompt Structure to proceed.

Table of Contents

Each chapter consists of a lesson and a set of exercises.

Beginner

Intermediate

Advanced

prompt-eng-interactive-tutorial (anthropics/prompt-eng-interactive-tutorial)

Searching Database…

这是什么?这是 Anthropic 官方的交互式教程,用于学习如何与 Claude 一起做提示词工程,通过课程和动手练习,教你怎样写出有效的提示词。
这是一套 Jupyter 笔记本,还是别的什么形式?这是一套 Jupyter 笔记本,每章一个,每个笔记本都包含一节课和练习,并带有可以实时尝试的“Example Playground”,另外还附有答案参考。
我该怎么开始学这门课?按顺序从第 1 章“基础提示词结构”开始,运行每个笔记本中的课程和练习。课程也有 Google Sheets 版本,可以通过 Claude for Sheets 扩展使用,Anthropic 推荐这个版本,认为它更易上手。
这个教程用的是哪个 Claude 模型?使用的是 Claude 3 Haiku,这是 Anthropic 当时最小、最快、最便宜的模型,而不是能力更强的 Sonnet 或 Opus 模型。
这门课适合谁学?适合任何想要系统学习、从入门到进阶掌握 Claude 提示词工程的人,内容从基础的提示词结构,一直到为特定行业构建复杂的提示词。
这门课是怎么安排的?课程共 9 章,分为入门、中级和高级三个层次,每章都有一节课和练习;另外还有一个附录,介绍提示链、工具调用、搜索与检索等高级方法。
高级附录讲了哪些内容?内容超出了标准提示词的范围,涉及提示链、工具调用,以及搜索与检索技术。
有没有结合实际场景的练习?有。第 9 章包括从零开始为聊天机器人、法律服务、金融服务和编程等场景构建复杂提示词的练习。
学完这门课我能做什么?能够掌握优质提示词的基本结构,识别常见的失效模式和 80/20 修复方法,了解 Claude 的优势与局限,并能为常见场景从零构建高质量的提示词。
Creator
anthropics
Size
5.6 MB
Stars
38.6K
Updated
CommitApr 08
Age
2y
Commits · 90 Days