llama_model_chat_template function
Get the default chat template. Returns nullptr if not available If name is NULL, returns the default chat template
Implementation
@ffi.Native<
ffi.Pointer<ffi.Char> Function(
ffi.Pointer<llama_model>,
ffi.Pointer<ffi.Char>,
)
>()
external ffi.Pointer<ffi.Char> llama_model_chat_template(
ffi.Pointer<llama_model> model,
ffi.Pointer<ffi.Char> name,
);