Type Alias Nemo Relay LlmSanitize Response Cb
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub type NemoRelayLlmSanitizeResponseCb = unsafe extern "C" fn(user_data: *mut c_void, response_json: *const c_char, context: NemoRelayLlmSanitizeResponseContext) -> *mut c_char;
LLM response sanitizer. It receives response JSON first and its codec context second. Return null to omit the observability payload. The response is borrowed, but returning that same pointer is supported as a pass-through. Any other non-null result transfers ownership to Relay.