mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-28 08:28:51 +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}}
|