pub unsafe extern "C" fn rkllm_init(
handle: *mut LLMHandle,
param: *mut RKLLMParam,
callback: LLMResultCallback,
) -> c_int
Expand description
@brief Initializes the LLM with the given parameters. @param handle Pointer to the LLM handle. @param param Configuration parameters for the LLM. @param callback Callback function to handle LLM results. @return Status code (0 for success, non-zero for failure).