You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 09-ai-growth/SKILL.md
+60Lines changed: 60 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -344,3 +344,63 @@ Design the gamification system:
344
344
6. Metrics to measure effectiveness (D7 retention, DAU/MAU, streak length)
345
345
Return as flow diagram + levels table.
346
346
```
347
+
348
+
---
349
+
350
+
## Prompt 07 — AI explains how RAG works in campaign targeting *(new)*
351
+
352
+
**When to use:** Want to understand AI retrieval mechanics to design better campaign targeting, or explain to your team why the personalization engine behaves the way it does.
353
+
354
+
```
355
+
Explain how RAG (Retrieval-Augmented Generation) relates to campaign targeting, using TF-IDF as a concrete example.
356
+
357
+
My context:
358
+
- Campaign pool: [describe size and types — e.g. 20 campaigns: cashback / gamification / referral / urgency]
359
+
- User segments: [e.g. new user, active, dormant, high-value]
360
+
- Current targeting approach: [e.g. rule-based, manual, ML model]
361
+
362
+
Explain:
363
+
1. What TF-IDF is and how it "matches" users to campaigns (with examples from my campaigns)
364
+
2. How RAG differs from TF-IDF — embeddings understand semantics, TF-IDF understands exact terms
365
+
3. Why "user who likes games" can match "gamification spin wheel" even without using that word
366
+
4. When TF-IDF is enough vs. when you need embeddings / RAG
367
+
5. Simplest possible Python code example illustrating the concept (< 30 lines)
368
+
```
369
+
370
+
**Note:** If AI returns 0% score across all campaigns, the query uses terms entirely outside the corpus — review how you describe campaigns or segments.
371
+
372
+
---
373
+
374
+
## Prompt 08 — Build a mini campaign search engine in Python *(new)*
375
+
376
+
**When to use:** Want to build a tool to match user segments with the best-fit campaigns, no ML framework, pure Python only.
377
+
378
+
```
379
+
Help me build a mini campaign search engine in pure Python (no sklearn or ML libraries).
0 commit comments