ollama/template/codellama-70b-instruct.gotmpl

19 lines
378 B
Go Template
Raw Normal View History

2024-06-27 21:15:17 +00:00
{{- if .Messages }}
{{- if .System }}Source: system
{{ .System }} <step> {{ end }}
{{- range .Messages }}Source: {{ .Role }}
{{ .Content }} <step> {{ end }}Source: assistant
Destination: user
{{ else }}
2024-06-03 18:06:29 +00:00
{{ if .System }} Source: system
{{ .System }} <step>{{ end }} Source: user
{{ .Prompt }} <step> Source: assistant
Destination: user
2024-06-27 21:15:17 +00:00
{{ .Response }}<step>
{{- end }}