-
Notifications
You must be signed in to change notification settings - Fork 0
insights
github-actions[bot] edited this page Aug 22, 2025
·
1 revision
SQLumAI can synthesize daily insights from decisions (autocorrects/blocks) and field profiles.
- Script:
scripts/llm_insights.py - Output:
reports/insights-YYYY-MM-DD.md - Scheduler: runs automatically when
ENABLE_SCHEDULER=true.
Environment
-
LLM_PROVIDER:ollama(default in Compose) oropenai. -
LLM_MODEL: e.g.,llama3.2(Ollama) orgpt-4o-mini(OpenAI-compatible). -
LLM_ENDPOINT: Ollamahttp://ollama:11434or your chat completions endpoint. -
OPENAI_API_KEY: used whenLLM_PROVIDER=openai.
Heuristic fallback
- If an LLM is not reachable, a short heuristic set of insights is generated.
Tips
- Ensure
data/aggregations/field_profiles.jsonanddata/metrics/decisions.jsonlexist to get richer insights.