About the function "construct_prompting"
Opened this issue · 0 comments
lazishu2000 commented
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?