333b1cf370
update ai insight to give reasoning for the insight
Alberto-Audrix2026-08-27 14:26:19 +07:00
34336b9bd1
Add dashboard report snapshots feature with CRUD operations. Implemented new database migrations for dashboard_report_snapshots, including report type handling. Updated backend routes and models to support snapshot retrieval and upsert functionality. Enhanced frontend components to integrate report snapshot management, including UI for daily and end-cycle reports. Added tests for new functionality to ensure reliability.
Alberto-Audrix2026-08-13 15:46:16 +07:00
059087be1d
Implement uniformity handling in dashboard insights and AI components. Introduced numberOrZero function to ensure proper reporting of uniformity and average weight, treating days without weighing as zero instead of unavailable. Updated AiInsightCard and WeightMonitoringPageRevamped to reflect these changes, ensuring consistent data representation across components. Adjusted context management to align with new uniformity logic.
Alberto-Audrix2026-08-13 09:12:10 +07:00
427cac54a1
Add daily report day picker and cumulative insights for mortality data. Updated AiInsightCard and related components to support daily and weekly reporting, ensuring accurate data representation. Introduced new utility functions for water consumption standards and enhanced context management for insights.
Alberto-Audrix2026-08-12 13:50:30 +07:00
c4a1136190
Update package dependencies and refactor LLM dispatcher to use undici for fetch operations. Added llmFetch function for improved API calls in aiInsights and dashboardInsight services.
Alberto-Audrix2026-08-11 09:41:25 +07:00
2a627a2c3f
Enhance AI Insight with new state management and PDF export functionality. Added selectedArea state to App for better context in reports. Introduced new markdown files for documentation on AI Insight improvements and setup instructions. Updated package dependencies and fixed TypeScript errors for improved stability.
Alberto-Audrix2026-08-11 09:19:06 +07:00