pub enum CloudEmbedder {
OpenAI(OpenAI),
Gemini(Gemini),
}Expand description
Unified embedding-capable cloud provider.
Variants§
Trait Implementations§
Source§impl Clone for CloudEmbedder
impl Clone for CloudEmbedder
Source§impl Debug for CloudEmbedder
impl Debug for CloudEmbedder
Source§impl EmbeddingModel for CloudEmbedder
impl EmbeddingModel for CloudEmbedder
Source§impl From<Gemini> for CloudEmbedder
impl From<Gemini> for CloudEmbedder
Source§impl From<OpenAI> for CloudEmbedder
impl From<OpenAI> for CloudEmbedder
Source§impl TryFrom<CloudProvider> for CloudEmbedder
impl TryFrom<CloudProvider> for CloudEmbedder
Source§type Error = CloudEmbedderError
type Error = CloudEmbedderError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for CloudEmbedder
impl Freeze for CloudEmbedder
impl RefUnwindSafe for CloudEmbedder
impl Send for CloudEmbedder
impl Sync for CloudEmbedder
impl Unpin for CloudEmbedder
impl UnsafeUnpin for CloudEmbedder
impl UnwindSafe for CloudEmbedder
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