Function nemo_relay_scope_register_llm_sanitize_request_guardrail
Function nemo_relay_scope_register_llm_sanitize_request_guardrail
Function nemo_relay_scope_register_llm_sanitize_request_guardrail
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_relay_scope_register_llm_sanitize_request_guardrail(
scope_uuid: *const c_char,
name: *const c_char,
priority: i32,
cb: NemoRelayLlmRequestCb,
user_data: *mut c_void,
free_fn: NemoRelayFreeFn,
) -> NemoRelayStatus
Register a scope-local LLM request sanitization guardrail.
scope_uuid: UUID of the target scope (null-terminated C string).name: Unique guardrail name.priority: Execution priority (lower runs first).cb: Request sanitize callback.user_data: Opaque pointer passed to cb.free_fn: Optional destructor for user_data.scope_uuid and name must be valid C strings. cb must be a valid function pointer.