AI Insights is an optional feature that generates an executive summary and enables a conversational chat assistant after each analysis run. It requires a free Google AI Studio API key. The full dashboard — Overview, Drill-down, Executive Summary, and Report Explorer — works completely without it; no functionality is degraded if you skip this step.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/acdeveloper-sci/fortriage/llms.txt
Use this file to discover all available pages before exploring further.
Get an API key
Open Google AI Studio
Go to https://ai.google.dev/ in your browser.
Create a new API key
In the Google AI Studio console, create a new API key. The free tier supports up to 1,500 requests per day at no cost.
Local setup
Create the file.streamlit/secrets.toml in the root of your ForTriage project directory:
.streamlit/secrets.toml
Streamlit Community Cloud deployment
If you are deploying ForTriage on Streamlit Community Cloud, configure the secret through the dashboard instead of a local file:Open your app settings
Navigate to your app in the Streamlit Community Cloud dashboard and click Settings.
Model used
ForTriage uses thegemini-3.5-flash-lite model for both structured insights generation and the follow-up chat assistant. This is the current free-tier Flash-Lite GA model available on ai.google.dev at the time of this writing.
| Setting | Value |
|---|---|
| Model | gemini-3.5-flash-lite |
| Timeout | 30 seconds per request |
| Requests used per analysis run | 1 (structured insights generation) |
| Requests used per chat message | 1 |
The free Gemini tier allows 1,500 requests per day. Each analysis run uses 1 request for structured insights generation. Each follow-up chat message uses 1 additional request. For most use cases, the free tier is more than sufficient.
If no
secrets.toml exists or the GEMINI_API_KEY key is absent, AI Insights will display a generic error message and a Retry button — the rest of the dashboard (Overview, Drill-down, Executive Summary, Report Explorer) is completely unaffected.