Skip to content

Commit 8b2fe70

Browse files
authored
Fixed typo in prompt
1 parent dd3066f commit 8b2fe70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paperqa/qaprompts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
input_variables=["question", "context_str", "length"],
2020
template="Write a comprehensive answer ({length}) "
2121
"for the question below solely based on the provided context. "
22-
"If the context is insufficient "
23-
'answer, reply "I cannot answer". '
22+
"If the context is insufficient, "
23+
'reply "I cannot answer". '
2424
"For each sentence in your answer, indicate which sources most support it "
2525
"via valid citation markers at the end of sentences, like (Foo2012). "
2626
"Answer in an unbiased, balanced, and scientific tone. "

0 commit comments

Comments
 (0)