|
|
sft_prompt = "Below is an instruction that describes a task. Write a response that appropriately completes the request." \ |
|
|
"\n\n### Instruction:\n{instruction}\n\n### Response:{response}" |
|
|
|
|
|
all_prompt = {} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
user2pref_prompt = [] |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "What is the preference of user {user}?" |
|
|
prompt["response"] = "{preference}" |
|
|
user2pref_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Would you mind informing me about the preference of user {user}?" |
|
|
prompt["response"] = "{preference}" |
|
|
user2pref_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Briefly summarize the preference of user {user}." |
|
|
prompt["response"] = "{preference}" |
|
|
user2pref_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you share with me the preference description corresponding to user {user}?" |
|
|
prompt["response"] = "{preference}" |
|
|
user2pref_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "How to describe the preference of user {user}?" |
|
|
prompt["response"] = "{preference}" |
|
|
user2pref_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "I need to know the preference of user {user}. Could you help me with that?" |
|
|
prompt["response"] = "{preference}" |
|
|
user2pref_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Please provide a description of user {user}'s preference." |
|
|
prompt["response"] = "{preference}" |
|
|
user2pref_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you provide the corresponding description for user {user}'s preference?" |
|
|
prompt["response"] = "{preference}" |
|
|
user2pref_prompt.append(prompt) |
|
|
|
|
|
all_prompt["user2pref"] = user2pref_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pref2user_prompt = [] |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "A user has the following preference: \"{preference}\". Which user is it describing?" |
|
|
prompt["response"] = "{user}" |
|
|
pref2user_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you tell which user has such a preference: \"{preference}\"?" |
|
|
prompt["response"] = "{user}" |
|
|
pref2user_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Your task is to determine the corresponding user based on his preference. Here is the preference description: \"{preference}\"." |
|
|
prompt["response"] = "{user}" |
|
|
pref2user_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Please identify the user from the provided preference: \"{preference}\"." |
|
|
prompt["response"] = "{user}" |
|
|
pref2user_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Which user has the following preference: \"{preference}\"?" |
|
|
prompt["response"] = "{user}" |
|
|
pref2user_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Given the textual description of someone's preference as \"{preference}\", identify the corresponding user." |
|
|
prompt["response"] = "{user}" |
|
|
pref2user_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Based on the provided preference \"{preference}\", answer which user is it referring to?" |
|
|
prompt["response"] = "{user}" |
|
|
pref2user_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Which user can be characterized by the following description: \"{preference}\"?" |
|
|
prompt["response"] = "{user}" |
|
|
pref2user_prompt.append(prompt) |
|
|
|
|
|
all_prompt["pref2user"] = pref2user_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
usersearch_prompt = [] |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "The item {item} has been historically clicked by users {users}. Can you predict another possible user which will click this item?" |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Given the item {item} and its historical interactive users {users}, I want to know which user will click this item. Please provide a reccomendation." |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Here are the item {item}'s historical interactive users: {users}, try to predict another user that is fond of this item." |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "According to the users {users} that have clicked the item {item}, can you determine the next possible user wanting the same item?" |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "By analyzing the item {item}'s historical interactions with users {users}, who is the next expected interactive user?" |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "After clicked by these users {users}, who is the next user that may be keen on the item {item}?" |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Who is the most potential user for the given item {item} that has previously interacted with the following users {users}?" |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Taking the item {item}'s historical interactions as condition, predict the next user that may highly enjoy the same item. Here is the historical interactive users {users}." |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "You have access to the item {item}'s historical user interaction record {users}. Now your task is to predict another possible user that loves the same item based on the past interaction." |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Considering the fact that several users {users} have clicked the same item {item}, forecast who is the next user that will be insterested in this item." |
|
|
prompt["response"] = "{user}" |
|
|
usersearch_prompt.append(prompt) |
|
|
|
|
|
all_prompt["usersearch"] = usersearch_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
seqrec_prompt = [] |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "The user {user} has interacted with items {inters} in chronological order. Can you predict the next possible item that the user may expect?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "I find the historical interactive items of user {user}: {inters}, and I want to know what next item the user needs. Can you help me decide?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Here are the user {user}'s historical interactions: {inters}, try to recommend another item to the user. Note that the historical interactions are arranged in chronological order." |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Based on the items that the user {user} has interacted with: {inters}, can you determine what item would be recommended to him next?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "The user {user} has interacted with the following items in order: {inters}. What else do you think the user need?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Here is the item interaction history of the user {user}: {inters}, what to recommend to the user next?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Which item would the user {user} be likely to interact with next after interacting with items {inters}?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "By analyzing the user {user}'s historical interactions with items {inters}, what is the next expected interaction item?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "After interacting with items {inters}, what is the next item that could be recommended for the user {user}?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Given the user {user}'s historical interactive items arranged in chronological order: {inters}, can you recommend a suitable item for the user?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Considering the user {user} has interacted with items {inters}. What is the next recommendation for the user?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "What is the top recommended item for the user {user} who has previously interacted with items {inters} in order?" |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "The user {user} has interacted with the following items in the past in order: {inters}. Please predict the next item that the user most desires based on the given interaction records." |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Using the user {user}'s historical interactions as input data, suggest the next item that the user is highly likely to enjoy. The historical interactions are provided as follows: {inters}." |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "You can access the user {user}'s historical item interaction records: {inters}. Now your task is to recommend the next potential item to him, considering his past interactions." |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "You have observed that the user {user} has interacted with the following items: {inters}, please recommend a next item that you think would be suitable for the user." |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "You have obtained the ordered list of user historical interaction items, which is as follows: {inters}. Using this history as a reference, please select the next item to recommend to the user {user}." |
|
|
prompt["response"] = "{item}" |
|
|
seqrec_prompt.append(prompt) |
|
|
|
|
|
all_prompt["seqrec"] = seqrec_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
item2index_prompt = [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Which item has the title: \"{title}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Which item is assigned the title: \"{title}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "An item is called \"{title}\", could you please let me know which item it is?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Which item is called \"{title}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "One of the items is named \"{title}\", can you tell me which item this is?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "What is the item that goes by the title \"{title}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "An item can be described as follows: \"{description}\". Which item is it describing?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you tell me what item is described as \"{description}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you provide the item that corresponds to the following description: \"{description}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Which item has the following characteristics: \"{description}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Which item is characterized by the following description: \"{description}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "I am curious to know which item can be described as follows: \"{description}\". Can you tell me?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "An item is called \"{title}\" and described as \"{description}\", can you tell me which item it is?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Could you please identify what item is called \"{title}\" and described as \"{description}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Which item is called \"{title}\" and has the characteristics described below: \"{description}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Please show me which item is named \"{title}\" and its corresponding description is: \"{description}\"." |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Determine which item this is by its title and description. The title is: \"{title}\", and the description is: \"{description}\"." |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Based on the title: \"{title}\", and the description: \"{description}\", answer which item is this?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you identify the item from the provided title: \"{title}\", and description: \"{description}\"?" |
|
|
prompt["response"] = "{item}" |
|
|
item2index_prompt.append(prompt) |
|
|
|
|
|
all_prompt["item2index"] = item2index_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
index2item_prompt = [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "What is the title of item {item}?" |
|
|
prompt["response"] = "{title}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "What title is assigned to item {item}?" |
|
|
prompt["response"] = "{title}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Could you please tell me what item {item} is called?" |
|
|
prompt["response"] = "{title}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you provide the title of item {item}?" |
|
|
prompt["response"] = "{title}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "What item {item} is referred to as?" |
|
|
prompt["response"] = "{title}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Would you mind informing me about the title of item {item}?" |
|
|
prompt["response"] = "{title}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Please provide a description of item {item}." |
|
|
prompt["response"] = "{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Briefly describe item {item}." |
|
|
prompt["response"] = "{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you share with me the description corresponding to item {item}?" |
|
|
prompt["response"] = "{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "What is the description of item {item}?" |
|
|
prompt["response"] = "{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "How to describe the characteristics of item {item}?" |
|
|
prompt["response"] = "{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Could you please tell me what item {item} looks like?" |
|
|
prompt["response"] = "{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "What is the title and description of item {item}?" |
|
|
prompt["response"] = "{title}\n\n{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you provide the corresponding title and description for item {item}?" |
|
|
prompt["response"] = "{title}\n\n{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Please tell me what item {item} is called, along with a brief description of it." |
|
|
prompt["response"] = "{title}\n\n{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Would you mind informing me about the title of the item {item} and how to describe its characteristics?" |
|
|
prompt["response"] = "{title}\n\n{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "I need to know the title and description of item {item}. Could you help me with that?" |
|
|
prompt["response"] = "{title}\n\n{description}" |
|
|
index2item_prompt.append(prompt) |
|
|
|
|
|
all_prompt["index2item"] = index2item_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inters2title_prompt = [] |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "The user {user} has sequentially interacted with items {inters}. Can you recommend the next item for him? Tell me the title of the itemοΌ" |
|
|
prompt["response"] = "{title}" |
|
|
inters2title_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Based on the user {user}'s historical interactions: {inters}, try to predict the title of the item that the user may need next." |
|
|
prompt["response"] = "{title}" |
|
|
inters2title_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Utilizing the user {user}'s past ordered interactions, which include items {inters}, please recommend the next item you think is suitable for the user and provide its title." |
|
|
prompt["response"] = "{title}" |
|
|
inters2title_prompt.append(prompt) |
|
|
|
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "After interacting with items {inters}, what is the most probable item for the user {user} to interact with next? Kindly provide the item's title." |
|
|
prompt["response"] = "{title}" |
|
|
inters2title_prompt.append(prompt) |
|
|
|
|
|
all_prompt["inters2title"] = inters2title_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inters2description_prompt = [] |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Please review the user {user}'s historical interactions: {inters}, and describe what kind of item he still needs." |
|
|
prompt["response"] = "{description}" |
|
|
inters2description_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Here is the item interaction history of the user {user}: {inters}, please tell me what features he expects from his next item." |
|
|
prompt["response"] = "{description}" |
|
|
inters2description_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "By analyzing the user {user}'s historical interactions with items {inters}, can you infer what the user's next interactive item will look like?" |
|
|
prompt["response"] = "{description}" |
|
|
inters2description_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Access the user {user}'s historical item interaction records: {inters}. Your objective is to describe the next potential item for him, taking into account his past interactions." |
|
|
prompt["response"] = "{description}" |
|
|
inters2description_prompt.append(prompt) |
|
|
|
|
|
all_prompt["inters2description"] = inters2description_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
intertitles2item_prompt = [] |
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Given the title sequence of user {user} historical interactive items: {inter_titles}, can you recommend a suitable next item for the user?" |
|
|
prompt["response"] = "{item}" |
|
|
intertitles2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "I possess a user {user}'s past interaction history, denoted by the title sequence of interactive items: {inter_titles}, and I am interested in knowing the user's next most desired item. Can you help me?" |
|
|
prompt["response"] = "{item}" |
|
|
intertitles2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Considering the title sequence of user {user} history interaction items: {inter_titles}. What is the next recommendation for the user?" |
|
|
prompt["response"] = "{item}" |
|
|
intertitles2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "You have obtained the ordered title list of user {user} historical interaction items, as follows: {inter_titles}. Based on this historical context, kindly choose the subsequent item for his recommendation." |
|
|
prompt["response"] = "{item}" |
|
|
intertitles2item_prompt.append(prompt) |
|
|
|
|
|
all_prompt["intertitles2item"] = intertitles2item_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
itemsearch_prompt = [] |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Here is the historical interactions of a user: {inters}. And his personalized preferences are as follows: \"{explicit_preference}\". Your task is to recommend an item that is consistent with the user's preference." |
|
|
prompt["response"] = "{item}" |
|
|
itemsearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "The user has interacted with a list of items, which are as follows: {inters}. Based on these interacted items, the user current intent is as follows \"{user_related_intention}\", and your task is to generate an item that matches the user's current intent." |
|
|
prompt["response"] = "{item}" |
|
|
itemsearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "As a recommender system, you are assisting a user who has recently interacted with the following items: {inters}. The user expresses a desire to obtain another item with the following characteristics: \"{item_related_intention}\". Please recommend an item that meets these criteria." |
|
|
prompt["response"] = "{item}" |
|
|
itemsearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Using the user current query: \"{query}\" and his historical interactions: {inters}, you can estimate the user's preferences \"{explicit_preference}\". Please respond to the user's query by selecting an item that best matches his preference and query." |
|
|
prompt["response"] = "{item}" |
|
|
itemsearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "The user needs a new item and searches for: \"{query}\". In addition, he has previously interacted with: {inters}. You can obtain his preference by analyzing his historical interactions: \"{explicit_preference}\". Can you recommend an item that best matches the search query and preferences?" |
|
|
prompt["response"] = "{item}" |
|
|
itemsearch_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Based on the user historical interactions with the following items: {inters}. You can infer his preference by observing the historical interactions: \"{explicit_preference}\". Now the user wants a new item and searches for: \"{query}\". Please select a suitable item that matches his preference and search intent." |
|
|
prompt["response"] = "{item}" |
|
|
itemsearch_prompt.append(prompt) |
|
|
|
|
|
all_prompt["itemsearch"] = itemsearch_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
query2item_prompt = [] |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Suppose you are a search engine, now a user {user} searches that: \"{query}\", can you select an item to respond to the user's query?" |
|
|
prompt["response"] = "{item}" |
|
|
query2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "As a search engine, your task is to answer the user's query by generating a related item. The user {user}'s query is provided as \"{query}\". Please provide your generated item as your answer." |
|
|
prompt["response"] = "{item}" |
|
|
query2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "As a recommender system, your task is to recommend an item that is related to the user {user}'s request, which is specified as follows: \"{query}\". Please provide your recommendation." |
|
|
prompt["response"] = "{item}" |
|
|
query2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "You meet user {user}'s query: \"{query}\". Please respond to this user by selecting an appropriate item." |
|
|
prompt["response"] = "{item}" |
|
|
query2item_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Your task is to recommend the best item that matches the user's query. Here is the search query of the user {user}: \"{query}\", tell me the item you recommend." |
|
|
prompt["response"] = "{item}" |
|
|
query2item_prompt.append(prompt) |
|
|
|
|
|
all_prompt["query2item"] = query2item_prompt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
preferenceobtain_prompt = [] |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "The user has interacted with items {inters} in chronological order. Please estimate his preferences." |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Based on the items that the user has interacted with: {inters}, can you infer what preferences he has?" |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you provide a summary of the user preferences based on his historical interactions: {inters}?" |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "After interacting with items {inters} in order, what preferences do you think the user has?" |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Here is the item interaction history of the user: {inters}, could you please infer the user preferences." |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Based on the user historical interaction records: {inters}, what are your speculations about his preferences?" |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Given the user historical interactive items arranged in chronological order: {inters}, what can be inferred about the preferences of the user?" |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Can you speculate on the user preferences based on his historical item interaction records: {inters}?" |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "What is the preferences of user who has previously interacted with items {inters} sequentially?" |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Using the user historical interactions as input data, summarize the user's preferences. The historical interactions are provided as follows: {inters}." |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
|
|
|
prompt = {} |
|
|
prompt["instruction"] = "Utilizing the ordered list of the user historical interaction items as a reference, please make an informed estimation of the user's preferences. The historical interactions are as follows: {inters}." |
|
|
prompt["response"] = "{explicit_preference}" |
|
|
preferenceobtain_prompt.append(prompt) |
|
|
|
|
|
all_prompt["preferenceobtain"] = preferenceobtain_prompt |
|
|
|