pub struct VectorRegenerationConfig {
pub kind: String,
pub profile: String,
pub chunking_policy: String,
pub preprocessing_policy: String,
}Expand description
Configuration for regenerating vector embeddings.
0.4.0 architectural invariant: vector identity is the embedder’s
responsibility, not the regeneration config’s. This struct carries only
WHERE the vectors live and HOW to chunk/preprocess them — never WHAT
model produced them. The embedder supplied at regen-call time is the
single source of truth for model_identity, model_version,
dimension, and normalization_policy; the resulting vector profile
is stamped directly from [QueryEmbedder::identity].
0.5.0 breaking change: table_name is removed. The vec table name is now
derived from kind via fathomdb_schema::vec_kind_table_name.
Fields§
§kind: String§profile: String§chunking_policy: String§preprocessing_policy: StringTrait Implementations§
Source§impl Clone for VectorRegenerationConfig
impl Clone for VectorRegenerationConfig
Source§fn clone(&self) -> VectorRegenerationConfig
fn clone(&self) -> VectorRegenerationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VectorRegenerationConfig
impl Debug for VectorRegenerationConfig
Source§impl<'de> Deserialize<'de> for VectorRegenerationConfig
impl<'de> Deserialize<'de> for VectorRegenerationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VectorRegenerationConfig
impl PartialEq for VectorRegenerationConfig
Source§impl Serialize for VectorRegenerationConfig
impl Serialize for VectorRegenerationConfig
impl Eq for VectorRegenerationConfig
impl StructuralPartialEq for VectorRegenerationConfig
Auto Trait Implementations§
impl Freeze for VectorRegenerationConfig
impl RefUnwindSafe for VectorRegenerationConfig
impl Send for VectorRegenerationConfig
impl Sync for VectorRegenerationConfig
impl Unpin for VectorRegenerationConfig
impl UnsafeUnpin for VectorRegenerationConfig
impl UnwindSafe for VectorRegenerationConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.