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