Struct llm_chain::step::StepBuilder
source · pub struct StepBuilder<Executor>where
Executor: Executor,{ /* private fields */ }
Expand description
Builder for Step
.
Implementations§
source§impl<Executor> StepBuilder<Executor>where
Executor: Executor + Clone,
impl<Executor> StepBuilder<Executor>where Executor: Executor + Clone,
pub fn prompt(&mut self, value: PromptTemplate) -> &mut Self
pub fn options( &mut self, value: Option<Executor::PerInvocationOptions> ) -> &mut Self
pub fn is_streaming(&mut self, value: Option<bool>) -> &mut Self
Trait Implementations§
source§impl<Executor> Clone for StepBuilder<Executor>where
Executor: Executor + Clone,
Executor::PerInvocationOptions: Clone,
impl<Executor> Clone for StepBuilder<Executor>where Executor: Executor + Clone, Executor::PerInvocationOptions: Clone,
source§fn clone(&self) -> StepBuilder<Executor>
fn clone(&self) -> StepBuilder<Executor>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<Executor> RefUnwindSafe for StepBuilder<Executor>where <Executor as Executor>::PerInvocationOptions: RefUnwindSafe,
impl<Executor> Send for StepBuilder<Executor>
impl<Executor> Sync for StepBuilder<Executor>
impl<Executor> Unpin for StepBuilder<Executor>where <Executor as Executor>::PerInvocationOptions: Unpin,
impl<Executor> UnwindSafe for StepBuilder<Executor>where <Executor as Executor>::PerInvocationOptions: UnwindSafe,
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