suchithvc758-lab/SentinelAI
GitHub: suchithvc758-lab/SentinelAI
Stars: 0 | Forks: 0
# SentinelAI Streamlit Integration
This workspace hosts the Streamlit wrapper that embeds the exported Stitch UI and connects it to the existing SentinelAI backend logic.
Quick start
1. Install dependencies (recommended in a virtualenv):
pip install -r requirements.txt
2. Run the app:
streamlit run app.py
3. Configure the OpenAI API key used by the live AI analyst:
$env:OPENAI_API_KEY="sk-..."
4. Open the local URL printed by Streamlit (usually http://localhost:8501).
Customizing visuals
- Drop the full Stitch export into `stitch_export/` and I'll automatically wire it in.
- Tokens are in `design_tokens.py`.
- The AI analyst uses the official OpenAI Python SDK. Override the default model with `SENTINELAI_OPENAI_MODEL` when needed.
Notes
- Legacy UI files were replaced with deprecation stubs to prevent accidentally running old UI code.
- The app uses an HTML embed for the Stitch UI and maps backend handlers in `stitch_ui.py`.