chatqa.gotmpl 186 Bytes
Newer Older
xuxzh1's avatar
update  
xuxzh1 committed
1
2
3
4
5
{{- range .Messages }}
{{- if eq .Role "system" }}System:
{{- else if eq .Role "user" }}User:
{{- else if eq .Role "assistant" }}Assistant:
{{- end }} {{ .Content }}
xuxzh1's avatar
init  
xuxzh1 committed
6

xuxzh1's avatar
update  
xuxzh1 committed
7
{{ end }}Assistant: