Skip to main content

YamlWorkflowLlmExecutor

Trait YamlWorkflowLlmExecutor 

Source
pub trait YamlWorkflowLlmExecutor: Send + Sync {
    // Required method
    fn complete_structured<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: YamlLlmExecutionRequest,
        event_sink: Option<&'life1 dyn YamlWorkflowEventSink>,
    ) -> Pin<Box<dyn Future<Output = Result<YamlLlmExecutionResult, String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn complete_structured<'life0, 'life1, 'async_trait>( &'life0 self, request: YamlLlmExecutionRequest, event_sink: Option<&'life1 dyn YamlWorkflowEventSink>, ) -> Pin<Box<dyn Future<Output = Result<YamlLlmExecutionResult, String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§