pub struct RagConfig {
pub collection_name: String,
pub chunk_size: usize,
pub chunk_overlap: usize,
pub top_k: usize,
}Fields§
§collection_name: String§chunk_size: usize§chunk_overlap: usize§top_k: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RagConfig
impl RefUnwindSafe for RagConfig
impl Send for RagConfig
impl Sync for RagConfig
impl Unpin for RagConfig
impl UnsafeUnpin for RagConfig
impl UnwindSafe for RagConfig
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