You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are an expert in composing functions. You are given a question and a set of possible functions.
43
+
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
44
+
If none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out. You should only return the function call in tools call sections.
45
+
If you decide to invoke any of the function(s), you MUST put it in the format as follows:
A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.
15
+
{{.Input -}}
16
+
<|im_start|>assistant
17
+
chat_message: |
18
+
<|im_start|>{{ .RoleName }}
19
+
{{ if .FunctionCall -}}
20
+
Function call:
21
+
{{ else if eq .RoleName "tool" -}}
22
+
Function response:
23
+
{{ end -}}
24
+
{{ if .Content -}}
25
+
{{.Content }}
26
+
{{ end -}}
27
+
{{ if .FunctionCall -}}
28
+
{{toJson .FunctionCall}}
29
+
{{ end -}}<|im_end|>
30
+
completion: |
19
31
{{.Input}}
20
-
ASSISTANT:
32
+
function: |
33
+
<|im_start|>system
34
+
You are a function calling AI model. You are provided with functions to execute. 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:
0 commit comments