Spaces:
Runtime error
Runtime error
Update prompts.py
Browse files- prompts.py +3 -2
prompts.py
CHANGED
@@ -170,12 +170,13 @@ New data:
|
|
170 |
Instructions:
|
171 |
Compile and categorize the data above into a JSON dictionary string
|
172 |
Include ALL datapoints, titles, descriptions, and source urls indexed into an easy to search JSON format
|
173 |
-
Return the data as
|
|
|
|
|
174 |
Example Response:
|
175 |
{"results": [ { "title": "Current weather - Florida - AccuWeather Forecast for Today & Tomorrow", "description": "Get the current weather in Florida, including temperature, wind speed, and humidity. See the 10-day forecast for Florida.", "url": "https://www.accuweather.com/en/us/florida/weather-forecast/351103", "datapoints": { "date_time": "2024-01-30 07:55:43.207290", "temperature": { "value": 27, "unit": "C" }, "humidity": { "value": 55, "unit": "%" }, "wind_speed": { "value": 10, "unit": "km/h" } } } ] }
|
176 |
"""
|
177 |
|
178 |
-
|
179 |
COMPRESS_DATA_PROMPT = """
|
180 |
You are attempting to complete the task
|
181 |
task: {task}
|
|
|
170 |
Instructions:
|
171 |
Compile and categorize the data above into a JSON dictionary string
|
172 |
Include ALL datapoints, titles, descriptions, and source urls indexed into an easy to search JSON format
|
173 |
+
Return the data as an indexed JSON dictionary string
|
174 |
+
"""
|
175 |
+
UNUSED="""
|
176 |
Example Response:
|
177 |
{"results": [ { "title": "Current weather - Florida - AccuWeather Forecast for Today & Tomorrow", "description": "Get the current weather in Florida, including temperature, wind speed, and humidity. See the 10-day forecast for Florida.", "url": "https://www.accuweather.com/en/us/florida/weather-forecast/351103", "datapoints": { "date_time": "2024-01-30 07:55:43.207290", "temperature": { "value": 27, "unit": "C" }, "humidity": { "value": 55, "unit": "%" }, "wind_speed": { "value": 10, "unit": "km/h" } } } ] }
|
178 |
"""
|
179 |
|
|
|
180 |
COMPRESS_DATA_PROMPT = """
|
181 |
You are attempting to complete the task
|
182 |
task: {task}
|