mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-29 22:20:43 +00:00

Added Hermes Pro 7B GPU configuration to example configurations Signed-off-by: TwinFin <57421631+TwinFinz@users.noreply.github.com>
10 lines
No EOL
474 B
Cheetah
10 lines
No EOL
474 B
Cheetah
<|im_start|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "tool"}}tool{{else if eq .RoleName "user"}}user{{end}}
|
|
{{- if .FunctionCall }}<tool_call>{{end}}
|
|
{{- if eq .RoleName "tool" }}<tool_result>{{end }}
|
|
{{- if .Content}}
|
|
{{.Content}}
|
|
{{- end }}
|
|
{{- if .FunctionCall}}{{toJson .FunctionCall}}{{end }}
|
|
{{- if .FunctionCall }}</tool_call>{{end }}
|
|
{{- if eq .RoleName "tool" }}</tool_result>{{end }}
|
|
<|im_end|> |