<|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|>