ollama/templates/mistral-instruct.gotmpl
2024-06-06 16:03:47 -07:00

6 lines
No EOL
181 B
Go Template

{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>