fix llm math prompt (#466)

basically, it didnt realize that the question was over after the input
and would some times hallucinate more input
This commit is contained in:
Harrison Chase
2022-12-29 08:20:55 -05:00
committed by GitHub
parent 95157d0aad
commit c65efd2986

View File

@@ -33,6 +33,7 @@ print(37593 * 67)
```
Answer: 2518731
Question: {question}"""
Question: {question}
"""
PROMPT = PromptTemplate(input_variables=["question"], template=_PROMPT_TEMPLATE)