qwen_agent/promptfoo/novare/prompt.json
2025-12-09 20:17:21 +08:00

23 lines
417 B
JSON

[
{% if use_history %}
{% for completion in _conversation %}
{
"role": "user",
"content": "{{ completion.input | encode }}"
},
{
"role": "assistant",
"content": "{{ completion.output | encode }}"
},
{% endfor %}
{
"role": "user",
"content": "{{ question | encode }}"
}
{% else %}
{
"role": "user",
"content": "{{ question }}"
}
{% endif %}
]