pub struct PipelineFactory;Expand description
Factory for creating configured pipeline instances
Implementations§
Source§impl PipelineFactory
impl PipelineFactory
pub fn create_pipeline( config: PipelineConfig, document_repository: Arc<dyn DocumentRepository>, embedding_service: Arc<dyn EmbeddingService>, llm_service: Option<Arc<dyn LlmService>>, reranking_service: Option<Arc<dyn RerankingService>>, ) -> EnhancedQueryPipeline
pub fn create_default_pipeline( document_repository: Arc<dyn DocumentRepository>, embedding_service: Arc<dyn EmbeddingService>, ) -> EnhancedQueryPipeline
Auto Trait Implementations§
impl Freeze for PipelineFactory
impl RefUnwindSafe for PipelineFactory
impl Send for PipelineFactory
impl Sync for PipelineFactory
impl Unpin for PipelineFactory
impl UnwindSafe for PipelineFactory
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