pub struct KnowledgeReindexOptions {
pub atoms: bool,
pub sections: bool,
pub drop_existing: bool,
pub rebuild_ann: bool,
pub batch_size: Option<u32>,
}Expand description
Options for reindex_knowledge.
Fields§
§atoms: boolEmbed atoms (and rebuild the atom Vamana ANN).
sections: boolEmbed sections into knowledge_sections.embedding (ADR-051).
drop_existing: boolRe-embed everything; when false, only fill missing vectors.
rebuild_ann: boolRebuild the atom Vamana ANN snapshot (only meaningful with atoms).
batch_size: Option<u32>Records per embedding batch.
Trait Implementations§
Source§impl Clone for KnowledgeReindexOptions
impl Clone for KnowledgeReindexOptions
Source§fn clone(&self) -> KnowledgeReindexOptions
fn clone(&self) -> KnowledgeReindexOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KnowledgeReindexOptions
Auto Trait Implementations§
impl Freeze for KnowledgeReindexOptions
impl RefUnwindSafe for KnowledgeReindexOptions
impl Send for KnowledgeReindexOptions
impl Sync for KnowledgeReindexOptions
impl Unpin for KnowledgeReindexOptions
impl UnsafeUnpin for KnowledgeReindexOptions
impl UnwindSafe for KnowledgeReindexOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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