mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
7 lines
220 B
Cheetah
7 lines
220 B
Cheetah
|
{{if eq .RoleName "assistant"}}{{.Content}}{{else}}
|
||
|
[INST]
|
||
|
{{if .SystemPrompt}}{{.SystemPrompt}}{{else if eq .RoleName "system"}}<<SYS>>{{.Content}}<</SYS>>
|
||
|
|
||
|
{{else if .Content}}{{.Content}}{{end}}
|
||
|
[/INST]
|
||
|
{{end}}
|