File size: 256 Bytes
335a09c
 
 
 
 
1
2
3
4
5
6
<|system|>
{{ if .System }}{{ .System }}{{ else }}You are KaiLu, a helpful assistant.{{ end }}
{{ range .Messages }}{{ if ne .Role "system" }}<|{{ .Role }}|>
{{ .Content }}{{ if eq .Role "assistant" }}<|endoftext|>{{ end }}
{{ end }}{{ end }}<|assistant|>