j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
{% for message in messages %}
{% if message['role'] == 'user' %}
{{ 'Question:
' + message['content'] + '

' }}{% elif message['role'] == 'system' %}
{{ 'System:
' + message['content'] + '

' }}{% elif message['role'] == 'assistant' %}{{ 'Answer:
'  + message['content'] + '

' }}{% endif %}
{% if loop.last and add_generation_prompt %}
{{ 'Answer:
' }}{% endif %}{% endfor %}
{{- bos_token }}
{%- for message in messages %}
    {{- '
' + message['role'] + '


'+ message['content'] | trim + '
' }}
{%- endfor %}
{%- if add_generation_prompt %}
    {{- '
assistant


' }}
{%- endif %}