j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
{{bos_token}}{% for message in messages %}{% if message['role'] == 'user' %}{{ '[|Umano|] ' + message['content'] + '
' }}{% elif message['role'] == 'assistant' %}{{ '[|Assistente|] ' + message['content'] + '
' }}{% elif message['role'] == 'system' %}{{ message['content'] + '
' }}{% else %}{{ raise_exception('Only system, user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '[|Assistente|]' }}{% endif %}