Fixed invalid Jinja2 syntax in instruction templates (#4911)
This commit is contained in:
parent
4eeac70af7
commit
3f3960dbfb
8 changed files with 17 additions and 14 deletions
|
@ -6,7 +6,7 @@ instruction_template: |-
|
|||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- if not found_item -%}
|
||||
{{- '' + 'A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.' + '\n\n' -}}
|
||||
{{- '' + 'A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user\'s questions.' + '\n\n' -}}
|
||||
{%- endif %}
|
||||
{%- for message in messages %}
|
||||
{%- if message['role'] == 'system' -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue