pub struct RragSystemBuilder { /* private fields */ }Expand description
System builder for easy setup
Implementations§
Source§impl RragSystemBuilder
impl RragSystemBuilder
pub fn new() -> Self
pub fn with_name(self, name: impl Into<String>) -> Self
pub fn with_environment(self, environment: impl Into<String>) -> Self
pub fn with_embedding_config(self, config: EmbeddingConfig) -> Self
pub fn with_storage_config(self, config: StorageConfig) -> Self
pub fn with_performance_config(self, config: PerformanceConfig) -> Self
pub fn enable_feature(self, feature: &str, enabled: bool) -> Self
pub async fn build(self) -> RragResult<RragSystem>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RragSystemBuilder
impl RefUnwindSafe for RragSystemBuilder
impl Send for RragSystemBuilder
impl Sync for RragSystemBuilder
impl Unpin for RragSystemBuilder
impl UnwindSafe for RragSystemBuilder
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