6 lines
230 B
Plaintext
6 lines
230 B
Plaintext
|
|
{{ bos_token }}{% for m in messages %}{% if m['role'] == 'system' %}{{ m['content'] + '
|
||
|
|
|
||
|
|
' }}{% elif m['role'] == 'user' %}{{ m['content'] + '
|
||
|
|
' }}{% elif m['role'] == 'assistant' %}{{ m['content'] + '
|
||
|
|
|
||
|
|
' }}{% endif %}{% endfor %}
|