Commit History

Add aggressive final validation to ALWAYS prevent lazy 'keep' recommendations and handle data corruption
eb33258

LogicGoInfotechSpaces commited on

Add validation to prevent always 'keep' recommendations - override lazy OpenAI responses with intelligent analysis
b3d55f3

LogicGoInfotechSpaces commited on

Update OpenAI prompt to be global/worldwide instead of India-specific for international users
9ab0023

LogicGoInfotechSpaces commited on

Improve OpenAI prompt to provide varied recommendations (increase/decrease/keep) based on spending trends and patterns
4040861

LogicGoInfotechSpaces commited on

Add test.py and enhanced debug logging for recommendation generation
c248b26

LogicGoInfotechSpaces commited on

Fix recommendation generation when user has data but no recommendations found - Fixed MongoDB query structure for budget lookup - Added fallback logic to generate recommendations from budget data - Added debug logging
dccf408

LogicGoInfotechSpaces commited on

Add budget_amount parameter to recommendations/check endpoint to generate recommendations based on provided budget
e95b2a4

LogicGoInfotechSpaces commited on

Fix route order: Move POST /recommendations/check before GET /recommendations/{user_id} to prevent 405 error
13edd0d

LogicGoInfotechSpaces commited on

Add POST endpoint to check user category data and return recommendations
9e1b2d4

LogicGoInfotechSpaces commited on

Handle category field as string name (not ObjectId) in budgets
5fda188

LogicGoInfotechSpaces commited on

Change response to show category name and category_id instead of budget_name
212462e

LogicGoInfotechSpaces commited on

Improve category name lookup with better logging and fallback searches
a67e1f8

LogicGoInfotechSpaces commited on

Use category ID from budgets and lookup names from headCategories and categories collections
b71b4c6

LogicGoInfotechSpaces commited on

Add enhanced logging to track OpenAI API usage vs rule-based recommendations
46c4337

LogicGoInfotechSpaces commited on

Clean up code: Remove commented duplicate code, fix category filtering logic, improve exception handling
6ec895c

LogicGoInfotechSpaces commited on

Fix bugs and improve budget recommendation system: Add API logging, fix OpenAI integration, enhance budget query patterns, add category extraction from headCategories, improve error handling
a600a52

LogicGoInfotechSpaces commited on

Use budgets (createdBy) as primary source for recommendations
caeed61

LogicGoInfotechSpaces commited on

Merge branch 'main' of https://huggingface.co/spaces/LogicGoInfotechSpaces/SMART_BUDGET_RECOMMENDATION
26bdcce

LogicGoInfotechSpaces commited on

Merge branch 'main' of https://huggingface.co/spaces/LogicGoInfotechSpaces/SMART_BUDGET_RECOMMENDATION
d5ef069

LogicGoInfotechSpaces commited on