Struct langchain_rust::chain::SequentialChain
source · pub struct SequentialChain { /* private fields */ }Trait Implementations§
source§impl Chain for SequentialChain
impl Chain for SequentialChain
fn call<'life0, 'async_trait>(
&'life0 self,
input_variables: PromptArgs
) -> Pin<Box<dyn Future<Output = Result<GenerateResult, Box<dyn Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn invoke<'life0, 'async_trait>(
&'life0 self,
input_variables: PromptArgs
) -> Pin<Box<dyn Future<Output = Result<String, Box<dyn Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_input_keys(&self) -> Vec<String>
fn execute<'life0, 'async_trait>(
&'life0 self,
input_variables: PromptArgs
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Value>, Box<dyn Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_output_keys(&self) -> Vec<String>
Auto Trait Implementations§
impl !RefUnwindSafe for SequentialChain
impl Send for SequentialChain
impl Sync for SequentialChain
impl Unpin for SequentialChain
impl !UnwindSafe for SequentialChain
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