10 lines
No EOL
229 B
Go Template
10 lines
No EOL
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
|
|
|
|
|