Skip to main content

TextLmRunnerExt

Trait TextLmRunnerExt 

Source
pub trait TextLmRunnerExt<'s, 'req, Tmpl, TmplErr> {
    // Required method
    fn get_lm_response(
        &'s self,
        request: GenericTextLmRequest<'req, Tmpl>,
    ) -> Result<String, GenericRunnerError<TmplErr>>;
}

Required Methods§

Source

fn get_lm_response( &'s self, request: GenericTextLmRequest<'req, Tmpl>, ) -> Result<String, GenericRunnerError<TmplErr>>

Implementors§

Source§

impl<'s, 'req, TextRunner, Tmpl> TextLmRunnerExt<'s, 'req, Tmpl, <Tmpl as ChatTemplate>::Error> for TextRunner
where Tmpl: ChatTemplate, TextRunner: TextLmRunner<'s, 'req, Template = Tmpl>,