<|start_header_id|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "tool"}}tool{{else if eq .RoleName "user"}}user{{end}}<|end_header_id|>
<|start_header_id|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "tool"}}tool{{else if eq .RoleName "user"}}user{{end}}<|end_header_id|>
{{ if .FunctionCall -}}
{{ if .FunctionCall -}}
Function call:
Function call:
{{ else if eq .RoleName "tool" -}}
{{ else if eq .RoleName "tool" -}}
...
@@ -26,29 +34,43 @@ config_file: |
...
@@ -26,29 +34,43 @@ config_file: |
{{ toJson .FunctionCall -}}
{{ toJson .FunctionCall -}}
{{ end -}}
{{ end -}}
<|eot_id|>
<|eot_id|>
completion: |
{{.Input}}
function: |
function: |
<|start_header_id|>system<|end_header_id|>
<|start_header_id|>system<|end_header_id|>
You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions. Here are the available tools: