Spaces:
Running on Zero
Running on Zero
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,35 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
title: Prompt Engineering Toolkit
|
| 2 |
+
emoji: ⚡
|
| 3 |
+
colorFrom: yellow
|
| 4 |
+
colorTo: green
|
|
|
|
| 5 |
sdk: gradio
|
| 6 |
+
sdk_version: "4.44.0"
|
| 7 |
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
+
⚡ Prompt Engineering Toolkit
|
| 10 |
+
An interactive demo of 4 battle-tested prompt engineering techniques, powered by Claude.
|
| 11 |
+
Techniques Covered
|
| 12 |
+
#
|
| 13 |
+
Technique
|
| 14 |
+
Core Idea
|
| 15 |
+
01
|
| 16 |
+
Perspective-Shifting Prompts
|
| 17 |
+
Be X who does Y using Z metaphors
|
| 18 |
+
02
|
| 19 |
+
Constrained Creativity Boosters
|
| 20 |
+
Limitations force innovation
|
| 21 |
+
03
|
| 22 |
+
Meta-Prompts for Precision
|
| 23 |
+
Make the AI critique its own output
|
| 24 |
+
04
|
| 25 |
+
Chain-of-Thought Templates
|
| 26 |
+
Force systematic step-by-step reasoning
|
| 27 |
+
Setup
|
| 28 |
+
Fork / duplicate this Space
|
| 29 |
+
Go to Settings → Variables and Secrets
|
| 30 |
+
Add a secret named ANTHROPIC_API_KEY with your Anthropic API key
|
| 31 |
+
The Space will restart and be ready to use
|
| 32 |
+
Local Development
|
| 33 |
+
pip install -r requirements.txt
|
| 34 |
+
export ANTHROPIC_API_KEY=sk-ant-...
|
| 35 |
+
python app.py
|