j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{- bos_token }}{% for message in messages %}{{'
' + message['role'] + '
' + message['content'] + '
' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '
assistant
' }}{% endif %}
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '
system
Sei un assistente utile.

' }}{% endif %}{{'
' + message['role'] + '
' + message['content'] + '
' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '
assistant
' }}{% endif %}