pub struct StructuredExecutorBuilder<'a, T> { /* private fields */ }
Implementations§
Source§impl<'a, T> StructuredExecutorBuilder<'a, T>
impl<'a, T> StructuredExecutorBuilder<'a, T>
pub fn new() -> Self
pub fn with_lm(self, lm: &'a dyn LanguageModel) -> Self
pub fn with_options(self, options: Box<dyn OrchResponseVariants<T>>) -> Self
pub fn with_preamble(self, preamble: &'a str) -> Self
pub fn with_alignment(self, strategy: AlignmentStrategy<'a>) -> Self
pub fn try_build( self, ) -> Result<StructuredExecutor<'a, T>, ExecutorBuilderError>
Trait Implementations§
Source§impl<'a, T: Default> Default for StructuredExecutorBuilder<'a, T>
impl<'a, T: Default> Default for StructuredExecutorBuilder<'a, T>
Source§fn default() -> StructuredExecutorBuilder<'a, T>
fn default() -> StructuredExecutorBuilder<'a, T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a, T> Freeze for StructuredExecutorBuilder<'a, T>
impl<'a, T> !RefUnwindSafe for StructuredExecutorBuilder<'a, T>
impl<'a, T> Send for StructuredExecutorBuilder<'a, T>
impl<'a, T> Sync for StructuredExecutorBuilder<'a, T>
impl<'a, T> Unpin for StructuredExecutorBuilder<'a, T>
impl<'a, T> !UnwindSafe for StructuredExecutorBuilder<'a, T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more