mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
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:
parent
95157d0aad
commit
c65efd2986
@ -33,6 +33,7 @@ print(37593 * 67)
|
||||
```
|
||||
Answer: 2518731
|
||||
|
||||
Question: {question}"""
|
||||
Question: {question}
|
||||
"""
|
||||
|
||||
PROMPT = PromptTemplate(input_variables=["question"], template=_PROMPT_TEMPLATE)
|
||||
|
Loading…
Reference in New Issue
Block a user