mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-25 15:21:04 +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}}
|