Spaces:
Runtime error
Runtime error
Update prompts.py
Browse files- prompts.py +3 -0
prompts.py
CHANGED
@@ -167,9 +167,12 @@ Current data:
|
|
167 |
{knowledge}
|
168 |
New data:
|
169 |
{history}
|
|
|
170 |
Compile and categorize the data above into a JSON dictionary string
|
171 |
Include ALL datapoints, titles, descriptions, and source urls indexed into an easy to search JSON format
|
172 |
Return the data as a JSON dictionary string
|
|
|
|
|
173 |
"""
|
174 |
|
175 |
|
|
|
167 |
{knowledge}
|
168 |
New data:
|
169 |
{history}
|
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 a JSON dictionary string
|
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 |
|