Update chat_template.jinja
Browse files- chat_template.jinja +3 -3
chat_template.jinja
CHANGED
|
@@ -12,9 +12,9 @@
|
|
| 12 |
{%- endfor %}
|
| 13 |
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
{{- "Your specific tasks are:\n" }}
|
| 15 |
-
{{- "1. Make one or more function/tool calls to meet the request based on the question
|
| 16 |
-
{{- "2. If none of the function can be used, point it out and refuse to answer
|
| 17 |
-
{{- "3. If the given question lacks the parameters required by the function, also point it out
|
| 18 |
{%- if messages[0].role == 'system' %}
|
| 19 |
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 20 |
{%- else %}
|
|
|
|
| 12 |
{%- endfor %}
|
| 13 |
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
{{- "Your specific tasks are:\n" }}
|
| 15 |
+
{{- "1. Make one or more function/tool calls to meet the request based on the question." }}
|
| 16 |
+
{{- "2. If none of the function can be used, point it out and refuse to answer." }}
|
| 17 |
+
{{- "3. If the given question lacks the parameters required by the function, also point it out." }}
|
| 18 |
{%- if messages[0].role == 'system' %}
|
| 19 |
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 20 |
{%- else %}
|