pub enum EmbedderType {
Tfidf,
Semantic,
}Expand description
Embedder type selection
Variants§
Tfidf
TF-IDF statistical embeddings (default, no downloads)
Semantic
Semantic embeddings via fastembed (requires embeddings feature)
Trait Implementations§
Source§impl Clone for EmbedderType
impl Clone for EmbedderType
Source§fn clone(&self) -> EmbedderType
fn clone(&self) -> EmbedderType
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 EmbedderType
Source§impl Debug for EmbedderType
impl Debug for EmbedderType
Source§impl Default for EmbedderType
impl Default for EmbedderType
Source§fn default() -> EmbedderType
fn default() -> EmbedderType
Returns the “default value” for a type. Read more
Source§impl ValueEnum for EmbedderType
impl ValueEnum for EmbedderType
Auto Trait Implementations§
impl Freeze for EmbedderType
impl RefUnwindSafe for EmbedderType
impl Send for EmbedderType
impl Sync for EmbedderType
impl Unpin for EmbedderType
impl UnsafeUnpin for EmbedderType
impl UnwindSafe for EmbedderType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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