You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
("user", "I'm searching for the answer for a question from a literature database, you should help me pick the most relavent search result from the searched sections."),
114
115
("assistant", "Sure! Please provide me with the sections you have searched so that I can assist you in selecting the most relevant ones.")
115
116
]
116
-
prompt="I'm searching for the answer for a question from a literature database, you should help me pick the most relavent search result from the searched sections."
117
+
prompt="I'm searching for the answer for a question from a literature database, you should help me pick the most relavent search result from the searched sections.\n" \
118
+
"For your reference, here is the question that I'm searching: {} \n".format(question) +"\n" \
117
119
"Please help me pick at most 5 of the most relevant sections from the following searched sections: \n"\
118
120
"---\n"\
119
-
"\n".join(related_sections) + \
121
+
"\n".join(['- '+rforrinrelated_sections]) + \
120
122
"---\n"\
121
-
"For your reference, here is the question that I'm searching: {} \n".format(question) +"\n" \
122
123
"You can slightly refine each section by adding or removing some words to make it better answer the question, but you shouldn't change the meaning of the section. \n" \
123
124
"You answer should not contain anything else other than explicitly listing the selected informations. \n"
0 commit comments