Spaces:
Paused
Paused
remove 'product description' phrase
Browse files
app.py
CHANGED
|
@@ -386,14 +386,15 @@ Return the reformatted structure only. Do not add any preceding or trailing char
|
|
| 386 |
|
| 387 |
<structure>/n{structure}</structure>"""
|
| 388 |
|
| 389 |
-
gemini_prompt = """
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
Do not hallucinate, do not add information that is not in the product information.
|
| 394 |
Try your best to avoid using the excluded words and phrases.
|
| 395 |
Try your best to include the included words and phrases in the product description.
|
| 396 |
-
|
|
|
|
| 397 |
Return the product description only.
|
| 398 |
|
| 399 |
<product_information>
|
|
|
|
| 386 |
|
| 387 |
<structure>/n{structure}</structure>"""
|
| 388 |
|
| 389 |
+
gemini_prompt = """
|
| 390 |
+
You are given information of a product, a reference structure, and a reference copy.
|
| 391 |
+
Please analyze the structure, make a plan on how to follow the structure correctly.
|
| 392 |
+
Use the tone of voice of the reference copy if available for the generated description.
|
| 393 |
+
Do not hallucinate, do not add information that is not in the product information.
|
| 394 |
Try your best to avoid using the excluded words and phrases.
|
| 395 |
Try your best to include the included words and phrases in the product description.
|
| 396 |
+
Make sure to keep to the requirements of the structure, writing no more or less than specified.
|
| 397 |
+
Do not enclose the output in html tags, quotes, braces, brackets or anything.
|
| 398 |
Return the product description only.
|
| 399 |
|
| 400 |
<product_information>
|