Spaces:
Sleeping
Sleeping
Commit History
-
refactor: Revise FastAPI app structure and enhance documentation
- Updated the FastAPI app entrypoint to better reflect its purpose as a backend for the Explore AI Recommender System. - Improved CORS middleware configuration for Flutter compatibility. - Enhanced function docstrings for clarity, including detailed descriptions for endpoints and helper functions. - Streamlined error handling and improved variable naming for better readability. - Updated README to include new features like smart diversification and online learning strategies, along with clearer usage instructions.9031b79
-
feat: Implement ML Recommendation System with Neural Networks
- Updated requirements.txt to include new ML dependencies: torch, scikit-learn, and tqdm. - Created model package with __init__.py to initialize the recommender module. - Developed neural_models.py containing PlanEmbeddingNetwork, UserPreferenceNetwork, ScorePredictor, and CompleteRecommenderModel classes for the recommendation system. - Added train.py script for training the ML model, including dummy data generation and training logic. - Introduced utils package with __init__.py and supabase_client for database interactions. - Created verify_setup.py to check the setup of the ML system, including file existence, imports, database connection, model creation, and training data availability.3932a6f