pub enum EmbeddingEndpointType {
Openai,
Azure,
Cohere,
HuggingFace,
Ollama,
Other,
}Expand description
Available embedding endpoint types
Variants§
Openai
OpenAI
Azure
Azure
Cohere
Cohere
HuggingFace
HuggingFace
Ollama
Ollama
Other
Other embedding types
Trait Implementations§
Source§impl Clone for EmbeddingEndpointType
impl Clone for EmbeddingEndpointType
Source§fn clone(&self) -> EmbeddingEndpointType
fn clone(&self) -> EmbeddingEndpointType
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 moreSource§impl Debug for EmbeddingEndpointType
impl Debug for EmbeddingEndpointType
Source§impl<'de> Deserialize<'de> for EmbeddingEndpointType
impl<'de> Deserialize<'de> for EmbeddingEndpointType
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
impl Eq for EmbeddingEndpointType
Source§impl PartialEq for EmbeddingEndpointType
impl PartialEq for EmbeddingEndpointType
Source§impl Serialize for EmbeddingEndpointType
impl Serialize for EmbeddingEndpointType
impl StructuralPartialEq for EmbeddingEndpointType
Auto Trait Implementations§
impl Freeze for EmbeddingEndpointType
impl RefUnwindSafe for EmbeddingEndpointType
impl Send for EmbeddingEndpointType
impl Sync for EmbeddingEndpointType
impl Unpin for EmbeddingEndpointType
impl UnsafeUnpin for EmbeddingEndpointType
impl UnwindSafe for EmbeddingEndpointType
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