LocalAI/examples/configurations/hermes-pro-7b/chat-message.tmpl
TwinFin a7f15cada7
Added Hermes Pro 7B
Added Hermes Pro 7B GPU configuration to example configurations

Signed-off-by: TwinFin <57421631+TwinFinz@users.noreply.github.com>
2024-09-24 23:12:32 -04:00

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|>