Skip to main content

TextLmRunnerExt

Trait TextLmRunnerExt 

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

Required Methods§

Source

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

Implementors§

Source§

impl<'s, 'req, TextRunner, Tmpl> TextLmRunnerExt<'s, 'req, Tmpl> for TextRunner
where TextRunner: TextLmRunner<'s, 'req, Tmpl>, Tmpl: ChatTemplate,