For example we have weather api, we have url https://weather.org/city=berlin and want to know weather news of 'berlin', so it hit the api, api has data like (Temperature: 14°C (57°F),Precipitation: 7% Humidity: 90%, Wind Speed: 11 km/h) and get result "Berlin is experiencing mild weather today with a current temperature of 14°C (57°F). The chance of precipitation is low at 7%, The humidity level is relatively high at 90%, so the air might feel a bit damp. It's a good idea to dress accordingly and stay hydrated. The wind is blowing at a gentle pace of 11 km/h, which should make for a comfortable outdoor experience."
I tried to implement jsonloader function of langchain library. but how can we switch city to city and get the result.