Updated System Prompt
Browse files- chat_template.jinja +2 -2
chat_template.jinja
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
{{- messages[0]['content'] }}
|
| 5 |
{%- else %}
|
| 6 |
-
{{- 'You are
|
| 7 |
{%- endif %}
|
| 8 |
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
{%- for tool in tools %}
|
|
@@ -15,7 +15,7 @@
|
|
| 15 |
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
{%- else %}
|
| 18 |
-
{{- '<|im_start|>system\nYou are
|
| 19 |
{%- endif %}
|
| 20 |
{%- endif %}
|
| 21 |
{%- for message in messages %}
|
|
|
|
| 3 |
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
{{- messages[0]['content'] }}
|
| 5 |
{%- else %}
|
| 6 |
+
{{- 'You are an expert in Rust programming language.' }}
|
| 7 |
{%- endif %}
|
| 8 |
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
{%- for tool in tools %}
|
|
|
|
| 15 |
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are an expert in Rust programming language.<|im_end|>\n' }}
|
| 19 |
{%- endif %}
|
| 20 |
{%- endif %}
|
| 21 |
{%- for message in messages %}
|