初始化项目,由ModelHub XC社区提供模型
Model: acon96/Home-1B-v3-GGUF Source: Original Platform
This commit is contained in:
11
template
Normal file
11
template
Normal file
@@ -0,0 +1,11 @@
|
||||
{{- range .Messages }}<|{{ .Role }}|>
|
||||
{{ .Content }}
|
||||
{{- if eq .Role "system" }}
|
||||
Services:
|
||||
{{- range $.Tools }} {{ .Function.Name }}({{- range $key, $value := .Function.Parameters.Properties }}{{- if ne $key "target_device" }}{{ $key }},{{- end }}{{- end }}),{{- end }}
|
||||
{{- else if eq .Role "assistant" }}
|
||||
{{ if .ToolCalls }}```homeassistant
|
||||
{{ range .ToolCalls }}{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}
|
||||
{{ end }}```{{ end }}
|
||||
{{- end }}<|endoftext|>
|
||||
{{ end }}<|assistant|>
|
||||
Reference in New Issue
Block a user