Struct LlmSanitize Response 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 LlmSanitizeResponseContext<'a> {
    pub codec: LlmCodecIdentity,
    /* private fields */
}

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

Fields

codec: LlmCodecIdentity

Identity of the active codec.

Implementations

impl<'a> LlmSanitizeResponseContext<'a>

impl<'a> LlmSanitizeResponseContext<'a>

resolve_codec

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

Resolve the active response codec capability.