Function llg_new_stop_controller

pub unsafe extern "C" fn llg_new_stop_controller(
    tokenizer: &LlgTokenizer,
    stop_tokens: *const u32,
    stop_tokens_len: usize,
    stop_rx: *const i8,
    error_string: *mut i8,
    error_string_len: usize,
) -> *mut LlgStopController
Expand description

Create a new stop-sequence controller

ยงSafety

This function should only be called from C code.