This pull request introduces a new version of Climsight with the following updates:
Modular Structure:
climsight.py: Reads the configuration and determines whether to run the Streamlit app or the terminal interface.
streamlit_interface.py: Handles the Streamlit interface.
terminal_interface.py: Handles the terminal interface.
climsight_engine.py: Contains the core functions for preparing and requesting data, and sending requests to the LLM. Both functions return and yield results to the respective interfaces, which then handle the subsequent processes.
Terminal Option:
In addition to running Climsight with Streamlit, you can now run it directly in the terminal. To run Climsight in the terminal, use the following command:
python src/climsight/climsight.py terminal
Logging:
This version includes the initial implementation of logging to help with debugging and tracking the application's behavior.
Running Climsight with Streamlit remains unchanged:
streamlit run src/climsight/climsight.py
This pull request introduces a new version of Climsight with the following updates: Modular Structure:
Terminal Option:
In addition to running Climsight with Streamlit, you can now run it directly in the terminal. To run Climsight in the terminal, use the following command:
Logging:
This version includes the initial implementation of logging to help with debugging and tracking the application's behavior.
Running Climsight with Streamlit remains unchanged:
streamlit run src/climsight/climsight.py