Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -372,13 +372,15 @@ Data:
|
|
| 372 |
Instructions:
|
| 373 |
Compile and categorize the data above into a JSON dictionary string
|
| 374 |
Include ALL text, datapoints, titles, descriptions, and source urls indexed into an easy to search JSON format
|
| 375 |
-
Return a
|
| 376 |
-
Required
|
| 377 |
-
|
| 378 |
-
"
|
| 379 |
-
"
|
| 380 |
-
"
|
|
|
|
| 381 |
"url":"https://url.source"
|
|
|
|
| 382 |
"""
|
| 383 |
|
| 384 |
def format_json(inp):
|
|
|
|
| 372 |
Instructions:
|
| 373 |
Compile and categorize the data above into a JSON dictionary string
|
| 374 |
Include ALL text, datapoints, titles, descriptions, and source urls indexed into an easy to search JSON format
|
| 375 |
+
Return a complete JSON file.
|
| 376 |
+
Required format:
|
| 377 |
+
{
|
| 378 |
+
"keywords":["short", "list", "of", "important", "keywords", "found", "in", "this", "entry"],
|
| 379 |
+
"title":"title of entry",
|
| 380 |
+
"description":"A sentence summarizing the topic of this entry",
|
| 381 |
+
"content":"A brief paragraph summarizing the important datapoints found in this entry",
|
| 382 |
"url":"https://url.source"
|
| 383 |
+
}
|
| 384 |
"""
|
| 385 |
|
| 386 |
def format_json(inp):
|