pub enum ModelType {
Text,
Vision,
Embedding,
Audio,
Diffusion,
}Expand description
Model capability type.
Variants§
Text
Text generation (LLM).
Vision
Vision-language model (VLM).
Embedding
Embedding model for vector representations.
Audio
Audio/speech model.
Diffusion
Image generation (diffusion).
Implementations§
Trait Implementations§
impl Copy for ModelType
impl Eq for ModelType
impl StructuralPartialEq for ModelType
Auto Trait Implementations§
impl Freeze for ModelType
impl RefUnwindSafe for ModelType
impl Send for ModelType
impl Sync for ModelType
impl Unpin for ModelType
impl UnsafeUnpin for ModelType
impl UnwindSafe for ModelType
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