Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -193,6 +193,13 @@ You are a meticulous technical editor.
|
|
| 193 |
|
| 194 |
Below is the full report HTML and a user adjustment request.
|
| 195 |
Extract one or more unique plain-text string(s) (without any HTML tags or formatting) that uniquely appear in the area(s) targeted by the adjustment request.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
Output them in a JSON object with the key "identified_unique_strings" mapped to a list of strings.
|
| 197 |
Ensure these strings exactly match the content in the report.
|
| 198 |
|
|
|
|
| 193 |
|
| 194 |
Below is the full report HTML and a user adjustment request.
|
| 195 |
Extract one or more unique plain-text string(s) (without any HTML tags or formatting) that uniquely appear in the area(s) targeted by the adjustment request.
|
| 196 |
+
|
| 197 |
+
// Examples
|
| 198 |
+
1) if the user request to "Add xyz in the conclusion", the unique string to identify should be specific to the conclusion
|
| 199 |
+
2) if the user request to "correct the graph after section 1.2", the unique string should be one of the string that appear specifically in the graph after section 1.2 (ex: the title)
|
| 200 |
+
3) if the user request is "Remove any mention about the car industry", the unique string(s) should be a sentence that would be in a paragraph of the report that would talk about car industry
|
| 201 |
+
--> The unique string is what would allow to identify precisely through a search the section targeted by the user request, it has to be concise and unique.
|
| 202 |
+
|
| 203 |
Output them in a JSON object with the key "identified_unique_strings" mapped to a list of strings.
|
| 204 |
Ensure these strings exactly match the content in the report.
|
| 205 |
|