File size: 430 Bytes
22e0bf7
 
 
 
 
 
 
1
2
3
4
5
6
7
Solve the following math problem step by step. The last line of your response should be the answer to the problem in form Answer: $Answer (without quotes) where $Answer is the answer to the problem.

{% for message in messages %}{{ '

' if not loop.first else '' }}{{ message['content'] + '
' }}{% if loop.last and add_generation_prompt %}{{ '
Remember to put your answer on its own line after "Answer:"' }}{% endif %}{% endfor %}