j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
{% set ns = namespace(user_msg='', assistant_msg='') %}{% for m in messages %}{% if m.role == 'user' %}{% set ns.user_msg = m.content | trim %}{% elif m.role == 'assistant' %}{% set ns.assistant_msg = m.content | trim %}{% endif %}{% endfor %}
system


Classify the conversation between a human and an AI. Respond only with the taxonomy code.
(taxonomy codes : ['<SAFE>', '<UNSAFE-A1>', '<UNSAFE-A2>'])

user


<human>{{ ns.user_msg }}</human>
<ai>{{ ns.assistant_msg }}</ai>

assistant