Spaces:
Sleeping
Sleeping
Commit History
-
chore: Add Python version file and format code in online learner
- Introduced a new `.python-version` file specifying Python 3.11.9. - Reformatted code in `online_learner.py` for improved readability, including adjustments to optimizer initialization and print statements. - Updated the `load_state` method to include the `weights_only` parameter for better model loading control.86ec101
-
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: Add online learning support to the FastAPI recommender
- Enhanced the FastAPI app to include online learning capabilities, allowing real-time updates based on user interactions. - Introduced new endpoints: `/track-interaction` for tracking user interactions and `/online-stats` for retrieving online learning statistics. - Updated the recommender model to support both batch training and online learning, improving recommendation accuracy dynamically. - Version updated to 2.0.0 to reflect these significant changes.884ecd8