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

[Question] Item filter by user #847

Open
aflyfish0329 opened this issue Jul 22, 2024 · 2 comments
Open

[Question] Item filter by user #847

aflyfish0329 opened this issue Jul 22, 2024 · 2 comments

Comments

@aflyfish0329
Copy link

How can I configure Gorse to ensure that the recommended items for a user do not include items they have created themselves?

Thanks.

@erfansahaf
Copy link

While there is no feature explicity for this pupore, I think you can send a read feedback for an item right after a user published it. But be aware that this may cause the system to think the user didn't like the content and don't suggest related items.

@aflyfish0329
Copy link
Author

aflyfish0329 commented Aug 19, 2024

@erfansahaf Thanks your reply

I have another idea I want to implement. Perhaps I can add user_id in front of item_id to form user_id:item_id, and when doing offline recommendations in the worker, I can also add a check userId == strings.Split(s, ":")[0] during each excludeSet judgment before adding it to the candidates. What problems could this cause?

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