You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is web app, where user passes question about weather in specific location on specific time (maybe several), and receives answer in user-friendly format.
This application works in the next way:
First of all, LLM transforms user's query into several queries like "What is the weather in 'location' on 'date'", and then parses it, and returns output as list of this queries.
Then, another LLM parses parameters 'location' and 'date' from each query.
On the next step - we use API from https://api.open-meteo.com to retrieve weather data for necessary location on necessary date (could be historical data, current data or future forecasts).
Finally, it transforms information from retrieved weather data and original user's query into answer in user-friendly format.
To run web application locally:
Write docker-compose up --build in the terminal of project's directory.
Then, to access UI - visit http://localhost:8501.
Note, that you need to specify your api_key from OpenAI in main_agent.py file.