Skip to content

Commit 453e0cf

Browse files
update prompt for llm retreival.
1 parent c41d817 commit 453e0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agentlab/utils/hinting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(
3131
llm_prompt: str = """We're choosing hints to help solve the following task:\n{goal}.\n
3232
You need to choose the most relevant hints topic from the following list:\n\nHint topics:\n{topics}\n
3333
Choose hint topic for the task and return only its number. Use the following output format:
34-
<choice>index</choice> for e.g. <choice>1</choice> for the first choice. If you don't know the answer, return <choice>-1</choice>""",
34+
<choice>index</choice> for e.g. <choice>0</choice> for the topic with index 0. If you don't know the answer, return <choice>-1</choice>""",
3535
) -> None:
3636
self.hint_db_path = hint_db_path
3737
self.hint_retrieval_mode = hint_retrieval_mode

0 commit comments

Comments
 (0)