j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{ '
' + message['role'] + '
' + message['content'] | trim + '

' }}{% endfor %}{% if add_generation_prompt %}{{ '
assistant
' }}{% endif %}