j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
{% set system_message = 'You are a helpful assistant.' %}{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ '
' + '
system
\n\n' + system_message + '
' }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '
user
\n\n' + content + '

assistant
\n\n' }}{% elif message['role'] == 'assistant' %}{{ content + '
' }}{% endif %}{% endfor %}