parse intentions only on search_list returned by ex. api
dolphinium
c13e67b
Enhance error handling and logging in various modules
dolphinium
a811652
- Improved exception handling in app.py to provide more specific error messages.
- Added timeout and error handling for API requests in extract_results.py.
- Implemented thread safety for Solr client access in ui.py.
- Enhanced error messages in connections.py and data_processing.py for better debugging.
dynamic core selection according to agentic api's output.
dolphinium
dae6a10
set qualitative limit to 5
dolphinium
af019d3
refactor: Remove max_output_tokens from generation configuration for LLM and visualization code
dolphinium
15039e8
adding direct solr links on accordions for quantitative and qualitative results.
dolphinium
26466c8
add debug lines for Solr links
dolphinium
1514258
feat: Integrate dynamic field suggestions from external API into analysis plan generation and UI
dolphinium
f74c067
refactor: Modularize application into single-responsibility components
dolphinium
f43f2d3
Decompose the monolithic app.py into a clean, modular architecture to improve maintainability, readability, and scalability. Each new
module now has a clearly defined purpose, separating concerns like configuration, data, connections, and UI.
Key changes:
- `app.py`: Transformed into a lean entry point that initializes services and launches the UI.
- `config.py`: Created to manage all environment variables and configuration constants.
- `solr_metadata.py`: Isolates the static Solr field definitions, removing a large data structure from the main logic.
- `connections.py`: Centralizes the setup and initialization of external services (SSH Tunnel, Solr, Gemini LLM).
- `llm_prompts.py`: Contains all large f-string prompts for the LLM, cleaning up the data processing logic.
- `data_processing.py`: Holds the core data analysis functions for querying Solr and orchestrating the LLM.
- `ui.py`: Defines the Gradio user interface and its associated event-handling logic.