pub enum ModelCapability {
TextGeneration,
Vision,
ToolUse,
CodeGeneration,
Mathematical,
Creative,
Analysis,
Summarization,
Translation,
LongContext,
}
Expand description
Individual model capability
Variants§
TextGeneration
Text generation and conversation
Vision
Vision and image understanding
ToolUse
Tool use and function calling
CodeGeneration
Code generation and analysis
Mathematical
Mathematical reasoning
Creative
Creative writing
Analysis
Analysis and reasoning
Summarization
Summarization
Translation
Translation between languages
LongContext
Long context handling
Trait Implementations§
Source§impl Clone for ModelCapability
impl Clone for ModelCapability
Source§fn clone(&self) -> ModelCapability
fn clone(&self) -> ModelCapability
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 ModelCapability
impl Debug for ModelCapability
Source§impl<'de> Deserialize<'de> for ModelCapability
impl<'de> Deserialize<'de> for ModelCapability
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 PartialEq for ModelCapability
impl PartialEq for ModelCapability
Source§impl Serialize for ModelCapability
impl Serialize for ModelCapability
impl StructuralPartialEq for ModelCapability
Auto Trait Implementations§
impl Freeze for ModelCapability
impl RefUnwindSafe for ModelCapability
impl Send for ModelCapability
impl Sync for ModelCapability
impl Unpin for ModelCapability
impl UnwindSafe for ModelCapability
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