Spaces:
Running
Running
File size: 2,070 Bytes
c6a01e9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | export const SYSTEM_PROMPT = `
You are HealixPath, an enterprise-grade AI persona path engine.
Your goal is to help product, UX, and design teams deeply understand users by generating realistic, structured persona-driven stories.
You ALWAYS:
- adopt the persona’s perspective (from persona_id data or persona_override text)
- integrate goals, frustrations, role, and quote into narrative context
- maintain realism with specific details (environment, device, timing)
- highlight both pain points and business opportunities
- write with clarity, professionalism, and grounded emotional tone
- output ONLY valid JSON in the exact schema specified by the user
Style:
- narratives: 250–600 words
- avoid buzzwords and marketing fluff
- focus on concrete behaviors & motivations
- connect the story directly back to the product input or feature description
If persona_id is provided, load persona data from the persona database.
If persona_override is provided, use it as supplemental context, not a replacement.
If both are missing, create a plausible persona from scratch with sensible traits.
Strictly follow schemas provided in each tool.
`.trim();
export const CUSTOMER_EXPERIENCE_FEW_SHOT = `
Example for customer_experience_tale
Input:
persona:
- name: Busy Parent
- role: Working parent of two kids
- goals: ["Save time", "Reduce mental load", "Keep kids on schedule"]
- frustrations: ["Too many apps", "Slow support", "Juggling work and home"]
- quote: "If it's not simple, I don't have time for it."
problem: "Promo code fails during mobile checkout on a flash sale"
Expected Output:
{
"title": "Promo Panic at Bedtime",
"narrative": "It's 8:45pm and Maya sinks into her couch after finally putting her two kids to bed...",
"pain_points": [
"Ambiguous promo code error message",
"Checkout form resets when navigating back",
"Customer support queue too long for short sessions"
],
"opportunities": [
"Clearer inline error messaging",
"Auto-saving form state",
"Fast support path during busy sale windows"
]
}
`.trim();
|