pub struct QueryEmbedderIdentity {
pub model_identity: String,
pub model_version: String,
pub dimension: usize,
pub normalization_policy: String,
}Expand description
Identity metadata for a QueryEmbedder.
Fields§
§model_identity: StringStable model identifier (e.g. "bge-small-en-v1.5").
model_version: StringModel version (e.g. "1.5").
dimension: usizeOutput dimension. Must match the active vector profile’s dimension or the vector branch will never fire.
normalization_policy: StringNormalization policy identifier (e.g. "l2", "none").
Trait Implementations§
Source§impl Clone for QueryEmbedderIdentity
impl Clone for QueryEmbedderIdentity
Source§fn clone(&self) -> QueryEmbedderIdentity
fn clone(&self) -> QueryEmbedderIdentity
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 QueryEmbedderIdentity
impl Debug for QueryEmbedderIdentity
Source§impl PartialEq for QueryEmbedderIdentity
impl PartialEq for QueryEmbedderIdentity
impl Eq for QueryEmbedderIdentity
impl StructuralPartialEq for QueryEmbedderIdentity
Auto Trait Implementations§
impl Freeze for QueryEmbedderIdentity
impl RefUnwindSafe for QueryEmbedderIdentity
impl Send for QueryEmbedderIdentity
impl Sync for QueryEmbedderIdentity
impl Unpin for QueryEmbedderIdentity
impl UnsafeUnpin for QueryEmbedderIdentity
impl UnwindSafe for QueryEmbedderIdentity
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.