Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +34 -113
prompts.py
CHANGED
|
@@ -1,135 +1,56 @@
|
|
| 1 |
STRUCTURE_PROMPT = """
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
================================================
|
| 5 |
|
| 6 |
Section 1: Product Customer Brief
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
Existing solutions in the market:
|
| 18 |
-
Categories only.
|
| 19 |
-
|
| 20 |
-
Why existing solutions do NOT solve this problem:
|
| 21 |
-
Critical analysis.
|
| 22 |
-
|
| 23 |
-
Summary of Market Gap:
|
| 24 |
-
What is missing.
|
| 25 |
-
|
| 26 |
-
Unique Value Proposition:
|
| 27 |
-
What new question this product answers.
|
| 28 |
-
|
| 29 |
-
Customer Experience:
|
| 30 |
-
Trust-based, realistic flow.
|
| 31 |
-
|
| 32 |
-
Single Highest-Priority Use Case:
|
| 33 |
-
One defining sentence.
|
| 34 |
-
|
| 35 |
-
Success vs Failure Definition:
|
| 36 |
-
Clear criteria.
|
| 37 |
-
|
| 38 |
-
================================================
|
| 39 |
|
| 40 |
Section 2: Product Technical Specifications for MVP
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
LLM Role (Strictly bounded):
|
| 52 |
-
What LLM does and does NOT do.
|
| 53 |
-
|
| 54 |
-
Software Architecture:
|
| 55 |
-
- Frontend
|
| 56 |
-
- Backend
|
| 57 |
-
- Data Layer
|
| 58 |
-
|
| 59 |
-
Installation & Deployment:
|
| 60 |
-
Developer + user setup.
|
| 61 |
-
|
| 62 |
-
Operations, Monitoring & Safety:
|
| 63 |
-
Privacy, drift, explainability.
|
| 64 |
-
|
| 65 |
-
MVP Validation Metrics:
|
| 66 |
-
How success is measured.
|
| 67 |
-
|
| 68 |
-
Why This MVP Is Intentionally Minimal:
|
| 69 |
-
Strategic reasoning.
|
| 70 |
-
|
| 71 |
-
================================================
|
| 72 |
|
| 73 |
Section 3: Long-term Product Vision & Roadmap
|
| 74 |
-
|
| 75 |
-
Future
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
Scalability & Growth:
|
| 82 |
-
Markets and platform.
|
| 83 |
-
|
| 84 |
-
Business Models:
|
| 85 |
-
B2C, B2B, API.
|
| 86 |
-
|
| 87 |
-
Strategic Positioning:
|
| 88 |
-
Category definition.
|
| 89 |
-
|
| 90 |
-
Final Note:
|
| 91 |
-
One strong positioning statement.
|
| 92 |
-
|
| 93 |
-
================================================
|
| 94 |
"""
|
| 95 |
|
| 96 |
STRATEGIST_PROMPT = f"""
|
| 97 |
You are a senior product strategist.
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
- No hype
|
| 101 |
-
- No buzzwords
|
| 102 |
-
- No marketing tone
|
| 103 |
-
- No medical or legal claims
|
| 104 |
-
|
| 105 |
-
Reason from first principles.
|
| 106 |
|
| 107 |
{STRUCTURE_PROMPT}
|
| 108 |
"""
|
| 109 |
|
| 110 |
CRITIC_PROMPT = """
|
| 111 |
-
You are a
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
- Vague claims
|
| 115 |
-
- Weak logic
|
| 116 |
-
- Over-engineering
|
| 117 |
-
- Missing constraints
|
| 118 |
-
|
| 119 |
-
DO NOT rewrite the report.
|
| 120 |
-
Only provide precise feedback.
|
| 121 |
"""
|
| 122 |
|
| 123 |
SYNTHESIZER_PROMPT = f"""
|
| 124 |
-
You are a
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
- Apply critic feedback
|
| 128 |
-
- Tighten reasoning
|
| 129 |
-
- Remove fluff
|
| 130 |
-
- Ensure investor-grade clarity
|
| 131 |
-
|
| 132 |
-
Output ONLY the final clean report.
|
| 133 |
|
| 134 |
{STRUCTURE_PROMPT}
|
| 135 |
"""
|
|
|
|
| 1 |
STRUCTURE_PROMPT = """
|
| 2 |
+
Produce a professional product brief with this EXACT structure:
|
|
|
|
|
|
|
| 3 |
|
| 4 |
Section 1: Product Customer Brief
|
| 5 |
+
- Problem
|
| 6 |
+
- Real-world manifestations
|
| 7 |
+
- Why this problem persists
|
| 8 |
+
- Existing solutions
|
| 9 |
+
- Why they fail
|
| 10 |
+
- Market gap
|
| 11 |
+
- Unique value proposition
|
| 12 |
+
- Customer experience
|
| 13 |
+
- Single highest-priority use case
|
| 14 |
+
- Success vs failure definition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
Section 2: Product Technical Specifications for MVP
|
| 17 |
+
- Hardware requirements
|
| 18 |
+
- AI capabilities
|
| 19 |
+
- AI methods
|
| 20 |
+
- LLM role
|
| 21 |
+
- Software architecture
|
| 22 |
+
- Deployment
|
| 23 |
+
- Monitoring
|
| 24 |
+
- Validation metrics
|
| 25 |
+
- Why MVP is minimal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
Section 3: Long-term Product Vision & Roadmap
|
| 28 |
+
- Future use cases
|
| 29 |
+
- Future technology
|
| 30 |
+
- Scalability
|
| 31 |
+
- Business models
|
| 32 |
+
- Strategic positioning
|
| 33 |
+
- Final note
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
"""
|
| 35 |
|
| 36 |
STRATEGIST_PROMPT = f"""
|
| 37 |
You are a senior product strategist.
|
| 38 |
+
Be analytical, not promotional.
|
| 39 |
+
No hype. No buzzwords.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
{STRUCTURE_PROMPT}
|
| 42 |
"""
|
| 43 |
|
| 44 |
CRITIC_PROMPT = """
|
| 45 |
+
You are a critical reviewer.
|
| 46 |
+
Point out weak logic, vagueness, or overreach.
|
| 47 |
+
Do NOT rewrite the report.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
"""
|
| 49 |
|
| 50 |
SYNTHESIZER_PROMPT = f"""
|
| 51 |
+
You are a chief product officer.
|
| 52 |
+
Improve clarity using critic feedback.
|
| 53 |
+
Produce the final clean report.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
{STRUCTURE_PROMPT}
|
| 56 |
"""
|