Enum spin_sdk::llm::EmbeddingModel
source · pub enum EmbeddingModel<'a> {
AllMiniLmL6V2,
Other(&'a str),
}
Expand description
Model used for generating embeddings
Variants§
Trait Implementations§
source§impl<'a> Clone for EmbeddingModel<'a>
impl<'a> Clone for EmbeddingModel<'a>
source§fn clone(&self) -> EmbeddingModel<'a>
fn clone(&self) -> EmbeddingModel<'a>
Returns a copy 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<'a> Debug for EmbeddingModel<'a>
impl<'a> Debug for EmbeddingModel<'a>
source§impl<'a> Display for EmbeddingModel<'a>
impl<'a> Display for EmbeddingModel<'a>
impl<'a> Copy for EmbeddingModel<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EmbeddingModel<'a>
impl<'a> Send for EmbeddingModel<'a>
impl<'a> Sync for EmbeddingModel<'a>
impl<'a> Unpin for EmbeddingModel<'a>
impl<'a> UnwindSafe for EmbeddingModel<'a>
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