Skip to content

Commit 5ce4f99

Browse files
committed
fix pref type
1 parent 8d909d4 commit 5ce4f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evaluation/scripts/utils/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def search(self, query, user_id, top_k):
258258
if pref["preference_type"] == "explicit_preference":
259259
explicit_pref_string += f"\n{explicit_idx + 1}. {pref['preference']}"
260260
explicit_idx += 1
261-
if pref["preference_type"] == "explicit_preference":
261+
if pref["preference_type"] == "implicit_preference":
262262
implicit_pref_string += f"\n{implicit_idx + 1}. {pref['preference']}"
263263
implicit_idx += 1
264264

0 commit comments

Comments
 (0)