Decide is a Streamlit-based data analysis assistant that lets you chat with your data using open-source LLMs via Ollama.
Install Ollama from https://ollama.com/download.
Start Ollama and pull a model, e.g. gpt-oss:20b:
ollama pull gpt-oss:20bImportant: Make sure Ollama is running as a service:
ollama serveKeep this terminal window open as Ollama needs to be running for the application to work.
Install the project dependencies using uv:
uv syncYou can run the application in two ways:
Option 1: Using the provided script
./scripts/run.shOption 2: Using uv directly
uv run streamlit run main.pyThe application will start and be available at http://localhost:8501 in your browser.
This project uses ruff for litning and formatting and mypy for type checking. You can run all with:
./scripts/check.shThis project uses Logfire for observability and monitoring.
-
Get a Logfire token:
- Sign up at https://logfire.pydantic.dev/
- Create a new project and get your token
-
Configure the token: Create a
.envfile in the project root:echo "LOGFIRE_TOKEN=your_token_here" > .env
Once configured, you can view your logs and metrics at your Logfire dashboard URL, which will be displayed in the terminal when the application starts.