ollama/templates/chatml.gotmpl

6 lines
181 B
Go Template
Raw Normal View History

2024-06-03 18:06:29 +00:00
{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>