Skip to content

Commit 7e20d4a

Browse files
author
SrGonao
committed
Reverting single token prompt bug
1 parent 7810443 commit 7e20d4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

delphi/explainers/default/prompt_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,15 @@ def build_prompt(
4141

4242
messages.extend(few_shot_examples)
4343

44-
user_start = f"WORDS: {examples}"
44+
user_start = f"\n{examples}\n"
4545

4646
messages.append(
4747
{
4848
"role": "user",
4949
"content": user_start,
5050
}
5151
)
52+
print(messages)
5253

5354
return messages
5455

0 commit comments

Comments
 (0)