Spaces:
Paused
Paused
add length to structure
Browse files
app.py
CHANGED
|
@@ -192,7 +192,7 @@ Make sure that the output is in JSON format, no extra text should be included in
|
|
| 192 |
|
| 193 |
copy_prompt = """Generate {nversions} versions of the product description for a product with the following information.
|
| 194 |
If the structure does not specify the length of the output, then write at least {min_length} words and at most {max_length} words.
|
| 195 |
-
If the structure specifies the length of the output, then write according to the specified length.
|
| 196 |
Make sure to use the tone of voice, rythm, cadence and style of the reference copy for each output.
|
| 197 |
Use markdown format for each output.
|
| 198 |
Make sure that the structure of each output follows the structure of the reference copy.
|
|
@@ -259,7 +259,8 @@ Make sure that the output is in JSON format, no extra text should be included in
|
|
| 259 |
|
| 260 |
struct_prompt = """Generate {nversions} versions of the product description for a product with the following information.
|
| 261 |
If the structure does not specify the length of the output, then write at least {min_length} words and at most {max_length} words.
|
| 262 |
-
If the structure specifies the length of the output, then write according to the specified length.
|
|
|
|
| 263 |
Use markdown format for each output.
|
| 264 |
Do not include any part of the reference structure in the output.
|
| 265 |
Make sure that the structure of each output follows the reference structure.
|
|
|
|
| 192 |
|
| 193 |
copy_prompt = """Generate {nversions} versions of the product description for a product with the following information.
|
| 194 |
If the structure does not specify the length of the output, then write at least {min_length} words and at most {max_length} words.
|
| 195 |
+
If the structure specifies the length of the output, then write according to the specified length.
|
| 196 |
Make sure to use the tone of voice, rythm, cadence and style of the reference copy for each output.
|
| 197 |
Use markdown format for each output.
|
| 198 |
Make sure that the structure of each output follows the structure of the reference copy.
|
|
|
|
| 259 |
|
| 260 |
struct_prompt = """Generate {nversions} versions of the product description for a product with the following information.
|
| 261 |
If the structure does not specify the length of the output, then write at least {min_length} words and at most {max_length} words.
|
| 262 |
+
If the structure specifies the length of the output, then write according to the specified length.
|
| 263 |
+
Make sure that the structure of each output follows the reference structure. Do not add any additional sentences that are not in the reference structure.
|
| 264 |
Use markdown format for each output.
|
| 265 |
Do not include any part of the reference structure in the output.
|
| 266 |
Make sure that the structure of each output follows the reference structure.
|