applyTemplate

Apply a chat template and return the result as a D string. Allocates a buffer and retries once if it is too small.

@trusted
string
applyTemplate
(
const(char)* tmpl
,
scope const(llama_chat_message)[] chat
,
bool addAss = true
)

Meta