Skip to content

About the function "construct_prompting" #23

@lazishu2000

Description

@lazishu2000

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions