Eric Xu commited on
Remove personal/dating examples from all placeholders and prompts
Browse files- web/app.py +3 -3
- web/static/index.html +2 -2
web/app.py
CHANGED
|
@@ -261,7 +261,7 @@ Return JSON:
|
|
| 261 |
Examples:
|
| 262 |
- Product landing page → goal: "Convert visitors to paying customers", audience: "Software developers evaluating dev tools"
|
| 263 |
- Resume → goal: "Get interview callbacks from target companies", audience: "Engineering hiring managers at mid-stage startups"
|
| 264 |
-
-
|
| 265 |
- Pitch deck → goal: "Secure Series A funding", audience: "VCs and angels focused on B2B SaaS"
|
| 266 |
|
| 267 |
Be specific to THIS entity, not generic."""
|
|
@@ -387,8 +387,8 @@ Return JSON with ONLY the fields that apply (omit fields that aren't specified):
|
|
| 387 |
"occupation": "<occupation substring>"
|
| 388 |
}}
|
| 389 |
|
| 390 |
-
If the audience is "
|
| 391 |
-
{{"
|
| 392 |
|
| 393 |
If nothing specific is stated, return {{}}."""
|
| 394 |
|
|
|
|
| 261 |
Examples:
|
| 262 |
- Product landing page → goal: "Convert visitors to paying customers", audience: "Software developers evaluating dev tools"
|
| 263 |
- Resume → goal: "Get interview callbacks from target companies", audience: "Engineering hiring managers at mid-stage startups"
|
| 264 |
+
- Professional bio → goal: "Build credibility and attract inbound opportunities", audience: "Industry peers and potential collaborators"
|
| 265 |
- Pitch deck → goal: "Secure Series A funding", audience: "VCs and angels focused on B2B SaaS"
|
| 266 |
|
| 267 |
Be specific to THIS entity, not generic."""
|
|
|
|
| 387 |
"occupation": "<occupation substring>"
|
| 388 |
}}
|
| 389 |
|
| 390 |
+
If the audience is "engineers in Texas aged 25-40", return:
|
| 391 |
+
{{"state": "TX", "age_min": 25, "age_max": 40, "occupation": "engineer"}}
|
| 392 |
|
| 393 |
If nothing specific is stated, return {{}}."""
|
| 394 |
|
web/static/index.html
CHANGED
|
@@ -354,7 +354,7 @@
|
|
| 354 |
<label>Goal — what outcome do you want?</label>
|
| 355 |
<button class="secondary" style="padding:4px 12px;font-size:0.75rem" onclick="inferSpec()">Suggest</button>
|
| 356 |
</div>
|
| 357 |
-
<input type="text" id="goalText" placeholder="e.g. '
|
| 358 |
</div>
|
| 359 |
|
| 360 |
<div class="field">
|
|
@@ -362,7 +362,7 @@
|
|
| 362 |
<label>Audience — who are you trying to reach?</label>
|
| 363 |
<button class="secondary" style="padding:4px 12px;font-size:0.75rem" onclick="inferSpec()">Suggest</button>
|
| 364 |
</div>
|
| 365 |
-
<input type="text" id="cohortDesc" placeholder="e.g. '
|
| 366 |
</div>
|
| 367 |
|
| 368 |
<details class="mb-8">
|
|
|
|
| 354 |
<label>Goal — what outcome do you want?</label>
|
| 355 |
<button class="secondary" style="padding:4px 12px;font-size:0.75rem" onclick="inferSpec()">Suggest</button>
|
| 356 |
</div>
|
| 357 |
+
<input type="text" id="goalText" placeholder="e.g. 'Increase conversion rate' or 'Get more interview callbacks'">
|
| 358 |
</div>
|
| 359 |
|
| 360 |
<div class="field">
|
|
|
|
| 362 |
<label>Audience — who are you trying to reach?</label>
|
| 363 |
<button class="secondary" style="padding:4px 12px;font-size:0.75rem" onclick="inferSpec()">Suggest</button>
|
| 364 |
</div>
|
| 365 |
+
<input type="text" id="cohortDesc" placeholder="e.g. 'Engineering managers at mid-stage startups' or 'US consumers aged 25-45'">
|
| 366 |
</div>
|
| 367 |
|
| 368 |
<details class="mb-8">
|