Spaces:
Running
Running
Update prompts.py
Browse files- prompts.py +10 -1
prompts.py
CHANGED
@@ -17,9 +17,15 @@ CRITICAL OUTPUT RULES:
|
|
17 |
- Do not add any characters that could trigger text box formatting
|
18 |
"""
|
19 |
|
20 |
-
def create_offer_instruction(target_audience, product_name, selected_formula_name):
|
21 |
"""
|
22 |
Creates instructions for generating an offer based on the selected formula.
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
"""
|
24 |
# Get the selected formula
|
25 |
selected_formula = offer_formulas[selected_formula_name]
|
@@ -41,6 +47,9 @@ PRODUCT/SERVICE:
|
|
41 |
TARGET AUDIENCE:
|
42 |
{target_audience}
|
43 |
|
|
|
|
|
|
|
44 |
Create a compelling offer following the formula structure exactly.
|
45 |
"""
|
46 |
|
|
|
17 |
- Do not add any characters that could trigger text box formatting
|
18 |
"""
|
19 |
|
20 |
+
def create_offer_instruction(target_audience, product_name, selected_formula_name, file_content=""):
|
21 |
"""
|
22 |
Creates instructions for generating an offer based on the selected formula.
|
23 |
+
|
24 |
+
Args:
|
25 |
+
target_audience: Description of the target audience
|
26 |
+
product_name: Name of the product or service
|
27 |
+
selected_formula_name: Name of the formula to use
|
28 |
+
file_content: Optional content from uploaded files
|
29 |
"""
|
30 |
# Get the selected formula
|
31 |
selected_formula = offer_formulas[selected_formula_name]
|
|
|
47 |
TARGET AUDIENCE:
|
48 |
{target_audience}
|
49 |
|
50 |
+
ADDITIONAL INFORMATION:
|
51 |
+
{file_content}
|
52 |
+
|
53 |
Create a compelling offer following the formula structure exactly.
|
54 |
"""
|
55 |
|