Struct Plugin Output

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 PluginOutput {
    pub translated_request: LlmRequest,
    pub translation_report: TranslationReport,
}

Output produced by a plugin after translation.

Contains the translated request in the backend’s native API format and a TranslationReport describing what happened to each intent.

Fields

translated_request: LlmRequest

The final request in the backend’s native API format.

translation_report: TranslationReport

Report describing what happened to each intent.

Trait Implementations

impl Debug for PluginOutput

impl Debug for PluginOutput

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result