7 lines
430 B
Django/Jinja
7 lines
430 B
Django/Jinja
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 %} |