Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle Multiple types of items? #830

Open
veekthoven opened this issue May 13, 2024 · 1 comment
Open

How to handle Multiple types of items? #830

veekthoven opened this issue May 13, 2024 · 1 comment

Comments

@veekthoven
Copy link

I have a music app, and I want to use this recommendation engine on it.

I want to be able to recommend “Music” and “Artists”. So ideally, music and artists should be items.

How do I differentiate this 2 different recommendations? Also how do I distinguish music and artist in the items table?

I mean how do i get the API to return a music recommendation alone?

@aqlx86
Copy link

aqlx86 commented Jul 30, 2024

what you could do is create 2 categories music and artists then GET /api/recommend/{user-id}/{category}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants