Struct LlmSanitize Request Context

View as Markdown

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 struct LlmSanitizeRequestContext<'a> {
    pub codec: LlmCodecIdentity,
    /* private fields */
}

Per-call request codec context delivered to an LLM sanitizer.

Fields

codec: LlmCodecIdentity

Identity of the active codec.

Implementations

impl<'a> LlmSanitizeRequestContext<'a>

impl<'a> LlmSanitizeRequestContext<'a>

resolve_codec

pub fn resolve_codec(&self) -> Option<&LlmSanitizeRequestCodec<'a>>

Resolve the active request codec capability.