pub struct JsonDatabaseOptions {
pub dir: PathBuf,
pub output_file_path: PathBuf,
pub file_type_exclusions: HashSet<String>,
pub file_exclusions: Vec<String>,
pub verbose: bool,
pub chunker_config: ChunkerConfig,
pub max_concurrent_files: usize,
pub embedding_pool_size: usize,
pub embedding_batch_size: Option<usize>,
}Expand description
Options for JSON database generation
Fields§
§dir: PathBuf§output_file_path: PathBuf§file_type_exclusions: HashSet<String>§file_exclusions: Vec<String>§verbose: bool§chunker_config: ChunkerConfig§max_concurrent_files: usizeMaximum number of files to process concurrently
embedding_pool_size: usizeNumber of parallel embedding workers (each maintains its own model instance)
embedding_batch_size: Option<usize>Optional batch size hint passed to the embedding backend
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsonDatabaseOptions
impl RefUnwindSafe for JsonDatabaseOptions
impl Send for JsonDatabaseOptions
impl Sync for JsonDatabaseOptions
impl Unpin for JsonDatabaseOptions
impl UnsafeUnpin for JsonDatabaseOptions
impl UnwindSafe for JsonDatabaseOptions
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().