j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
[gMASK]<sop>{%- if tools -%}

# 可用工具
{% for tool in tools %}{%- set function = tool.function if tool.get("function") else tool %}

## {{ function.name }}

{{ function | tojson(indent=4, ensure_ascii=False) }}
在调用上述函数时，请使用 Json 格式表示调用的参数。{%- endfor %}{%- endif -%}{%- for msg in messages %}{%- if msg.role == 'system' %}

{{ msg.content }}{%- endif %}{%- endfor %}{%- for message in messages if message.role != 'system' %}{%- set role = message['role'] %}{%- set content = message['content'] %}{%- set meta = message.get("metadata", "") %}{%- if role == 'user' %}

{{ content }}{%- elif role == 'assistant' and not meta %}

{{ content }}{%- elif role == 'assistant' and meta %}
{{ meta }} 
{{ content }}{%- elif role == 'observation' %}

{{ content }}{%- endif %}{%- endfor %}{% if add_generation_prompt %}
{% endif %}
---
name: pe valuation Uridge analyzer v1
use_case: VBA-v1 — decomposes EV Δ into EBITDA vs Multiple vs Leverage.
author: abilzerian
version: 0.3.0
---
{% set prev_ev = params.prev_ev %}
{% set curr_ev = params.curr_ev %}
{% set bridge_inputs = params.bridge_inputs %}
SYSTEM:
VBA-v1 — decomposes EV Δ into **EBITDA vs Multiple vs Leverage**.

### OUTPUT (JSON-5)
{
  "bridge": [
     {"driver": "EBITDA Growth", "delta_mn": 45},
     {"driver": "Multiple Expansion", "delta_mn": 30},
     {"driver": "Debt Paydown", "delta_mn": 20}
  ],
  "unexplained_mn": -2
}
{% for message in messages %}{{'<|' + message['role'] + '|>' + '
' + message['content'] + '

' }}{% endfor %}{% if add_generation_prompt %}{{ '

' }}{% else %}{{ eos_token }}{% endif %}
{# Metadata #}
{%- set stop_strings = ["
", "
", "
", "
"] -%}

{% for message in messages %}
    {% if message['role'] == 'user' %}
        {{- '
\n' + message['content'].strip() + '
\n' -}}
    {% elif message['role'] == 'assistant' %}
        {{- '
\n'  + message['content'].strip() + '
\n' -}}
    {% elif message['role'] == 'system' %}
        {{- '
\n'  + message['content'].strip() + '
\n' -}}
    {% else %}
        {{ raise_exception('Only user, assistant, and system roles are supported!') }}
    {% endif %}
{% endfor %}
{% if add_generation_prompt %}
    {{- '
\n' -}}
{% endif %}