pub enum EmbeddingProviderType {
Local,
AzureMl,
Openai,
}Expand description
Embedding provider type selection.
Variants§
Local
Local provider using Candle with Jina models (default)
AzureMl
Azure ML Online Endpoints
Openai
OpenAI-compatible API (OpenAI, Azure OpenAI, Ollama, etc.)
Trait Implementations§
Source§impl Clone for EmbeddingProviderType
impl Clone for EmbeddingProviderType
Source§fn clone(&self) -> EmbeddingProviderType
fn clone(&self) -> EmbeddingProviderType
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 EmbeddingProviderType
impl Debug for EmbeddingProviderType
Source§impl Default for EmbeddingProviderType
impl Default for EmbeddingProviderType
Source§fn default() -> EmbeddingProviderType
fn default() -> EmbeddingProviderType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmbeddingProviderType
impl<'de> Deserialize<'de> for EmbeddingProviderType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EmbeddingProviderType
impl Display for EmbeddingProviderType
Source§impl FromStr for EmbeddingProviderType
impl FromStr for EmbeddingProviderType
Source§impl PartialEq for EmbeddingProviderType
impl PartialEq for EmbeddingProviderType
Source§impl Serialize for EmbeddingProviderType
impl Serialize for EmbeddingProviderType
impl Copy for EmbeddingProviderType
impl Eq for EmbeddingProviderType
impl StructuralPartialEq for EmbeddingProviderType
Auto Trait Implementations§
impl Freeze for EmbeddingProviderType
impl RefUnwindSafe for EmbeddingProviderType
impl Send for EmbeddingProviderType
impl Sync for EmbeddingProviderType
impl Unpin for EmbeddingProviderType
impl UnwindSafe for EmbeddingProviderType
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.