ollama/template/falcon-instruct.gotmpl
2024-08-27 15:44:04 -07:00

8 lines
210 B
Go Template

{{- range .Messages }}
{{- if eq .Role "system" }}System: {{ .Content }}
{{ continue }}
{{- else if eq .Role "user" }}User:
{{- else if eq .Role "assistant" }}Falcon:
{{- end }}
{{ .Content }}
{{ end }}Falcon: