Automated Report Generation with LLM & Constrained Reasoning
Client-ready PPT/PDF reports generated daily — rules decide the numbers, the LLM only writes the narrative.
Report time: hours → minutes
The Challenge
Daily operational reports had to be delivered to clients as presentations, but were assembled manually. Static templates could not adapt to varying data, while unconstrained LLM output produced inconsistent formats and uncontrolled numbers (hallucination).
Why the Obvious Approach Fails
Static templates couldn't adapt to varying data, while a free-form LLM produced inconsistent formats and uncontrolled numbers.
Technical Approach
Built a pipeline with rule-based insight extraction to determine the analysis points, then used the LLM only for narrative writing (never for inventing numbers). Data is passed as structured JSON/API payloads, with constrained reasoning to prevent hallucination, and an engine that generates consistent PPT/PDF documents automatically.
BalancingCreativityvsConsistency
Outcome & Impact
Analysts focus on interpretation instead of writing reports. Reports are generated automatically and consistently, integrated directly with the dashboard/product, and report creation time dropped drastically from hours to minutes.
System Architecture
Task 1
Fetch Data
Task 2
AI Inference
Task 3
Generate Doc
Task 4
Upload MinIO
📥 Download Ready
Users can download generated PPT/PDF from MinIO
Airflow DAG
Orchestration
API Fetch
Data ingestion
AI Inference
LLM analysis
JSON Process
Template engine
Doc Generation
PPT/PDF export
MinIO Upload
Object storage
More case studies
All projectsHybrid ML + LLM Verification System with Confidence Threshold
A fast ML model handles most data; only low-confidence cases are escalated to an LLM — accuracy up, cost flat.
AIAutomated Media Summarization Engine (Daily, WhatsApp & Report)
Thousands of daily media items condensed into daily, WhatsApp, and report-ready summaries automatically.
AIMedia Summarization with Vector Search & Context Preservation
Retrieval-grounded summaries that keep nuance and stay faithful to the source articles.