A Streamlit dashboard that helps Bayer's (HSE) teams browse observation data with visualization tools.
- Tool registry with statistics, charting, embeddings, and classification helpers.
- Dual-language UI support (Finnish and English).
- Optional persistence layer for saving intermediate analysis states per query.
hse_visualizer.py– Streamlit entry point and multi-step workflow.mock_database.py– This is for development purposes and was used to simulate the LLM and Database access from RAG pipeline. It handles configuration, CSV loading, LLM client bootstrap, and persistence.tools.py– Tool definitions, prompt builders, and visualization helpers.config/– Prompts, translations, and query metadata per language.data/– CSV inputs plus optional pre-computed embeddings (*.npz+*.csvpairs).
- Python 3.10+
- Access to an LLM endpoint compatible with the OpenAI API surface (default: Featherless API).
- For development we used the featherless AI API given to us for the hackathon.
- Api key defined in your .env. Default:
FEATHERLESS_API_KEY
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e .
streamlit run hse_visualizer.pyThe Streamlit sidebar lets you select a language, connect to the LLM, choose an embedding preset, and load/save query runs.
- Create a
.envfile in the project root (or export vars) and setFEATHERLESS_API_KEY=<your-secret>. - Translation strings live in
config/translations.json