Function wrap_llm_response_fn
Function wrap_llm_response_fn
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub fn wrap_llm_response_fn(
cb: NemoRelayJsonCb,
user_data: *mut c_void,
free_fn: NemoRelayFreeFn,
) -> LlmSanitizeResponseFn
Wrap a C JSON callback into a Fn(Json) -> Json closure for LLM response sanitization. The callback receives the response as a JSON string and returns the (possibly modified) JSON string.