JeCabrera commited on
Commit
cb3563f
·
verified ·
1 Parent(s): 5d79c0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -20,13 +20,11 @@ def get_gemini_response(product_service, target_audience, formula_type, temperat
20
 
21
  model = genai.GenerativeModel('gemini-2.0-flash')
22
  full_prompt = f"""
23
- You are a UVP (Unique Value Proposition) expert. Analyze the following information and create THREE compelling UVPs:
24
-
25
  BUSINESS INFORMATION:
26
  Product/Service: {product_service}
27
  Target Audience: {target_audience}
28
  Formula Type: {formula_type}
29
-
30
  {formula["description"]}
31
 
32
  First, analyze (but don't output) these points:
@@ -44,16 +42,17 @@ def get_gemini_response(product_service, target_audience, formula_type, temperat
44
  - What competitive advantages does it have?
45
  - What emotional benefits does it provide?
46
 
47
- Based on the above analysis (which should remain internal), create THREE different UVPs following the formula structure provided.
48
-
49
  CRITICAL INSTRUCTIONS:
50
  - Each UVP must be specific and measurable
51
  - Focus on the transformation journey
52
  - Use natural, conversational language
53
  - Avoid generic phrases and buzzwords
54
  - Maximum 2 lines per UVP
55
-
56
- Output format:
 
 
57
  1. [First UVP]
58
  2. [Second UVP]
59
  3. [Third UVP]
 
20
 
21
  model = genai.GenerativeModel('gemini-2.0-flash')
22
  full_prompt = f"""
23
+ You are a UVP (Unique Value Proposition) expert. Analyze (internally only, do not output the analysis) the following information:
 
24
  BUSINESS INFORMATION:
25
  Product/Service: {product_service}
26
  Target Audience: {target_audience}
27
  Formula Type: {formula_type}
 
28
  {formula["description"]}
29
 
30
  First, analyze (but don't output) these points:
 
42
  - What competitive advantages does it have?
43
  - What emotional benefits does it provide?
44
 
45
+ Based on your internal analysis of the target audience pain points and product benefits (do not include this analysis in the output), create THREE different UVPs following the formula structure provided.
 
46
  CRITICAL INSTRUCTIONS:
47
  - Each UVP must be specific and measurable
48
  - Focus on the transformation journey
49
  - Use natural, conversational language
50
  - Avoid generic phrases and buzzwords
51
  - Maximum 2 lines per UVP
52
+ - DO NOT include any analysis in the output
53
+ - ONLY output the three UVPs
54
+
55
+ Output EXACTLY in this format (no additional text):
56
  1. [First UVP]
57
  2. [Second UVP]
58
  3. [Third UVP]