feat: add smart weekly financial digest with AI insights#950
Open
bbb-build wants to merge 1 commit intorohitdash08:mainfrom
Open
feat: add smart weekly financial digest with AI insights#950bbb-build wants to merge 1 commit intorohitdash08:mainfrom
bbb-build wants to merge 1 commit intorohitdash08:mainfrom
Conversation
- Add WeeklyDigest model with trend tracking - Implement digest generation service with AI-powered insights - Add REST endpoints for weekly digest CRUD - Create React dashboard for viewing weekly summaries - Include trend comparison with previous weeks - Add comprehensive test coverage Resolves rohitdash08#121
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements Issue #121: Smart digest with weekly financial summary — a comprehensive weekly financial digest system that aggregates expenses, income, and trends, then generates AI-powered insights.
What's included
Backend (Flask/Python):
WeeklyDigestSQLAlchemy model with week bounds, financial totals, category breakdown, trend data, and AI insightsservices/digest.py— Full digest generation pipeline: aggregation → trend computation → AI insights (Gemini with heuristic fallback)GET /digest/weekly,GET /digest/weekly/<date>,GET /digest/history,POST /digest/generate)Frontend (React/TypeScript):
Tests:
Technical decisions
Resolves #121
/claim #121