update embedded templates

This commit is contained in:
Michael Yang
2024-07-10 11:00:29 -07:00
parent 41be28096a
commit 19753c18c0
25 changed files with 74 additions and 60 deletions

View File

@@ -3,6 +3,6 @@
{{- end }}
{{- range .Messages }}<start_{{ .Role }}>{{ .Content }}<end_message>
{{- end }}<start_assistant>
{{- else }}
{{- else -}}
{{ if .System }}<start_system>{{ .System }}<end_message>{{ end }}{{ if .Prompt }}<start_user>{{ .Prompt }}<end_message>{{ end }}<start_assistant>{{ .Response }}<end_message>
{{- end }}
{{- end -}}