Function nemo_relay_llm_conditional_execution
Function nemo_relay_llm_conditional_execution
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_llm_conditional_execution(
native_json: *const c_char,
) -> NemoRelayStatus
Run the registered LLM conditional execution guardrail chain.
Returns NemoRelayStatus::Ok if all guardrails pass, or NemoRelayStatus::GuardrailRejected if blocked.
Parameters
native_json: The request payload as a JSON C string representing anLlmRequest({"headers": {...}, "content": {...}}).
Returns
Returns NemoRelayStatus::Ok when execution is allowed and NemoRelayStatus::GuardrailRejected when a guardrail blocks the call.
Safety
All pointers must be valid.