mirror of
https://github.com/ollama/ollama.git
synced 2025-03-27 02:01:56 +01:00
10 lines
229 B
Go Template
10 lines
229 B
Go Template
{{- range .Messages }}Source:
|
|
{{- if eq .Role "system" }} system
|
|
{{- else if eq .Role "user" }} user
|
|
{{- else if eq .Role "assistant" }} assistant
|
|
{{- end }}
|
|
|
|
{{ .Content }} <step> {{ end }}Source: assistant
|
|
Destination: user
|
|
|
|
|