LocalAI/examples/configurations/mistral/chatml.tmpl

4 lines
180 B
Cheetah
Raw Normal View History

<|im_start|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "user"}}user{{end}}
{{if .Content}}{{.Content}}{{end}}
<|im_end|>