update named templates

This commit is contained in:
Michael Yang
2024-06-27 14:15:17 -07:00
parent 326363b3a7
commit fb6cbc02fb
75 changed files with 611 additions and 27 deletions

View File

@@ -1,3 +1,13 @@
{{- if .Messages }}
{{- if .System }}Source: system
{{ .System }} <step> {{ end }}
{{- range .Messages }}Source: {{ .Role }}
{{ .Content }} <step> {{ end }}Source: assistant
Destination: user
{{ else }}
{{ if .System }} Source: system
{{ .System }} <step>{{ end }} Source: user
@@ -5,4 +15,5 @@
{{ .Prompt }} <step> Source: assistant
Destination: user
{{ .Response }}<step>
{{ .Response }}<step>
{{- end }}