Struct LlmSanitize Response Codec

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 LlmSanitizeResponseCodec<'a> { /* private fields */ }

Safe completion-backed response codec facade for typed native plugins.

Implementations

impl LlmSanitizeResponseCodec<'_>

impl LlmSanitizeResponseCodec<'_>

decode

pub fn decode(&self, response: &Json) -> Result<AnnotatedLlmResponse>

Decode an opaque response into Relay’s normalized response model.

Trait Implementations

impl Drop for LlmSanitizeResponseCodec<'_>

impl Drop for LlmSanitizeResponseCodec<'_>

drop

fn drop(&mut self)

impl Send for LlmSanitizeResponseCodec<'_>

impl Send for LlmSanitizeResponseCodec<'_>

impl Sync for LlmSanitizeResponseCodec<'_>

impl Sync for LlmSanitizeResponseCodec<'_>