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
-
fix: Exclude current user's plans from explore feed
- Updated the plan fetching logic to exclude plans created by the current user, ensuring the explore feed displays only other users' plans.dfe0fa0
-
refactor: Clean up main.py and README for clarity and organization
- Removed outdated comments and unnecessary documentation in `main.py` to streamline the code. - Updated the `README.md` to provide a clearer structure and comprehensive details about the API, including installation instructions and endpoint usage. - Removed commented-out code and unnecessary sections to enhance readability. - Adjusted the `requirements.txt` to remove obsolete comments and ensure clarity on dependencies.2777769
-
add fix plan request to fix plans with no interests
3169020
-
refactor: Remove unused dataset generation script and update .gitignore
- Deleted the `generate_professional_dataset.py` script as it is no longer needed. - Updated `.gitignore` to include `fsq_cache/` to prevent caching files from being tracked.7268791 -
feat: Enhance security and documentation for FastAPI recommender
- Updated the ADMIN_KEY retrieval to raise an error if SECRET_KEY is not set, improving security by ensuring the environment variable is defined. - Added detailed usage instructions for the `/track-interaction` endpoint, including required and optional parameters, enhancing API documentation for better developer experience.9511b30
-
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 -
fix: Comment out interestIds in format_plan_for_flutter for clarity
45fc52f -
feat: Add interests fetching to format_plan_for_flutter
2edddba
-
fix pagination
cab98ed -
update explore requestion to return the expecterd model
092ec1c
-
sort explore plans from newest first
bfff574 -
fix key case
31d9018
-
Update user_id to userId in API endpoints and response structures for consistency; remove unused model file and update item_map.json with new data.
4ec55f2
-
Enhance explore endpoint to include user details in recommendations
b2dc2a0
-
Enhance recommender module with detailed logging for model loading, recommendation process, and error handling
ed62f2d
-
Remove custom documentation endpoints and restore default FastAPI documentation
fd2f4c6 -
Enhance FastAPI app with CORS support, custom documentation endpoints, and health check route
0c3111d -
Add root endpoint to provide API status and available routes
60ef5d0 -
Refactor recommender access to ensure safe initialization and improve code clarity
4bba1b9 -
Refactor recommender initialization and improve error handling during startup
544da52 -
update model logic
be7f94e