add review and read review now done

This commit is contained in:
Mann Patel
2025-04-12 13:10:17 -06:00
parent 0e32389482
commit 0f8bb622a4
16 changed files with 408 additions and 196 deletions

View File

@@ -108,6 +108,10 @@ def get_user_history(user_id):
return final
def delete_user_recommendations(userId):
pass
def get_recommendations(user_id, top_n=10):
try:
# Get all products and user history with their category vectors