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

About the function "construct_prompting" #23

Open
lazishu2000 opened this issue Sep 11, 2024 · 0 comments
Open

About the function "construct_prompting" #23

lazishu2000 opened this issue Sep 11, 2024 · 0 comments

Comments

@lazishu2000
Copy link

I noticed that in this function, the following is used:

for index in item_list:
    title = item_attribute['title'][index]
    genre = item_attribute['genre'][index]
    ...

to extract items that the user has interacted with, where index represents the item IDs that the user interacted with. However, this extracts the information of the item at the index-th position in the list, whereas logically, the correct approach would be to extract the item where id=index. Could this be a bug?

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

1 participant