pub enum EmbeddingModel {
Show 31 variants
AllMiniLML6V2,
AllMiniLML6V2Q,
AllMiniLML12V2,
AllMiniLML12V2Q,
BGEBaseENV15,
BGEBaseENV15Q,
BGELargeENV15,
BGELargeENV15Q,
BGESmallENV15,
BGESmallENV15Q,
NomicEmbedTextV1,
NomicEmbedTextV15,
NomicEmbedTextV15Q,
ParaphraseMLMiniLML12V2,
ParaphraseMLMiniLML12V2Q,
ParaphraseMLMpnetBaseV2,
BGESmallZHV15,
BGELargeZHV15,
ModernBertEmbedLarge,
MultilingualE5Small,
MultilingualE5Base,
MultilingualE5Large,
MxbaiEmbedLargeV1,
MxbaiEmbedLargeV1Q,
GTEBaseENV15,
GTEBaseENV15Q,
GTELargeENV15,
GTELargeENV15Q,
ClipVitB32,
JinaEmbeddingsV2BaseCode,
EmbeddingGemma300M,
}
Variants§
AllMiniLML6V2
sentence-transformers/all-MiniLM-L6-v2
AllMiniLML6V2Q
Quantized sentence-transformers/all-MiniLM-L6-v2
AllMiniLML12V2
sentence-transformers/all-MiniLM-L12-v2
AllMiniLML12V2Q
Quantized sentence-transformers/all-MiniLM-L12-v2
BGEBaseENV15
BAAI/bge-base-en-v1.5
BGEBaseENV15Q
Quantized BAAI/bge-base-en-v1.5
BGELargeENV15
BAAI/bge-large-en-v1.5
BGELargeENV15Q
Quantized BAAI/bge-large-en-v1.5
BGESmallENV15
BAAI/bge-small-en-v1.5 - Default
BGESmallENV15Q
Quantized BAAI/bge-small-en-v1.5
NomicEmbedTextV1
nomic-ai/nomic-embed-text-v1
NomicEmbedTextV15
nomic-ai/nomic-embed-text-v1.5
NomicEmbedTextV15Q
Quantized v1.5 nomic-ai/nomic-embed-text-v1.5
ParaphraseMLMiniLML12V2
sentence-transformers/paraphrase-MiniLM-L6-v2
ParaphraseMLMiniLML12V2Q
Quantized sentence-transformers/paraphrase-MiniLM-L6-v2
ParaphraseMLMpnetBaseV2
sentence-transformers/paraphrase-mpnet-base-v2
BGESmallZHV15
BAAI/bge-small-zh-v1.5
BGELargeZHV15
BAAI/bge-large-zh-v1.5
ModernBertEmbedLarge
lightonai/modernbert-embed-large
MultilingualE5Small
intfloat/multilingual-e5-small
MultilingualE5Base
intfloat/multilingual-e5-base
MultilingualE5Large
intfloat/multilingual-e5-large
MxbaiEmbedLargeV1
mixedbread-ai/mxbai-embed-large-v1
MxbaiEmbedLargeV1Q
Quantized mixedbread-ai/mxbai-embed-large-v1
GTEBaseENV15
Alibaba-NLP/gte-base-en-v1.5
GTEBaseENV15Q
Quantized Alibaba-NLP/gte-base-en-v1.5
GTELargeENV15
Alibaba-NLP/gte-large-en-v1.5
GTELargeENV15Q
Quantized Alibaba-NLP/gte-large-en-v1.5
ClipVitB32
Qdrant/clip-ViT-B-32-text
JinaEmbeddingsV2BaseCode
jinaai/jina-embeddings-v2-base-code
EmbeddingGemma300M
onnx-community/embeddinggemma-300m-ONNX
Trait Implementations§
Source§impl Clone for EmbeddingModel
impl Clone for EmbeddingModel
Source§fn clone(&self) -> EmbeddingModel
fn clone(&self) -> EmbeddingModel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for EmbeddingModel
impl Debug for EmbeddingModel
Source§impl Default for EmbeddingModel
impl Default for EmbeddingModel
Source§fn default() -> EmbeddingModel
fn default() -> EmbeddingModel
Source§impl Display for EmbeddingModel
impl Display for EmbeddingModel
Source§impl FromStr for EmbeddingModel
impl FromStr for EmbeddingModel
Source§impl Hash for EmbeddingModel
impl Hash for EmbeddingModel
Source§impl ModelTrait for EmbeddingModel
impl ModelTrait for EmbeddingModel
Source§fn get_model_info(model: &EmbeddingModel) -> Option<&ModelInfo<EmbeddingModel>>
fn get_model_info(model: &EmbeddingModel) -> Option<&ModelInfo<EmbeddingModel>>
Get model information by model code.
type Model = EmbeddingModel
Source§impl PartialEq for EmbeddingModel
impl PartialEq for EmbeddingModel
Source§impl TryFrom<String> for EmbeddingModel
impl TryFrom<String> for EmbeddingModel
impl Eq for EmbeddingModel
impl StructuralPartialEq for EmbeddingModel
Auto Trait Implementations§
impl Freeze for EmbeddingModel
impl RefUnwindSafe for EmbeddingModel
impl Send for EmbeddingModel
impl Sync for EmbeddingModel
impl Unpin for EmbeddingModel
impl UnwindSafe for EmbeddingModel
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
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>
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>
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 moreSource§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>
ReadEndian::read_from_little_endian()
.Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string()
Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString
. Read more