pub enum EmbeddingDimensions {
D2048,
D1024,
D512,
D256,
}Expand description
Output vector dimensions for embeddings
Variants§
Trait Implementations§
Source§impl Clone for EmbeddingDimensions
impl Clone for EmbeddingDimensions
Source§fn clone(&self) -> EmbeddingDimensions
fn clone(&self) -> EmbeddingDimensions
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 EmbeddingDimensions
Source§impl Debug for EmbeddingDimensions
impl Debug for EmbeddingDimensions
impl Eq for EmbeddingDimensions
Source§impl PartialEq for EmbeddingDimensions
impl PartialEq for EmbeddingDimensions
Source§fn eq(&self, other: &EmbeddingDimensions) -> bool
fn eq(&self, other: &EmbeddingDimensions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EmbeddingDimensions
impl Serialize for EmbeddingDimensions
impl StructuralPartialEq for EmbeddingDimensions
Auto Trait Implementations§
impl Freeze for EmbeddingDimensions
impl RefUnwindSafe for EmbeddingDimensions
impl Send for EmbeddingDimensions
impl Sync for EmbeddingDimensions
impl Unpin for EmbeddingDimensions
impl UnsafeUnpin for EmbeddingDimensions
impl UnwindSafe for EmbeddingDimensions
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.