pub enum ModelCapability {
Chat,
Coding,
Vision,
VideoUnderstanding,
ImageGeneration,
Transcription,
AudioUnderstanding,
TextToSpeech,
Embeddings,
ToolCalling,
StructuredOutput,
Reasoning,
}Expand description
Declarative compatibility capabilities supported by a model.
Capabilities describe supported inputs, outputs, and interactions. They are provider/model classifications used to match an agent’s requirements; they are not standardized guarantees or measurements of model quality.
Variants§
Chat
Conversational text generation and understanding.
Coding
Code generation, explanation, debugging, and programming assistance.
This is an application-level classification rather than a standardized API capability.
Vision
Understanding visual inputs, such as images.
VideoUnderstanding
Understanding video inputs and their temporal content.
ImageGeneration
Generating images from text or other supported inputs.
Transcription
Converting speech or other audio input into text.
AudioUnderstanding
Understanding and reasoning about audio inputs beyond transcription.
TextToSpeech
Generating spoken audio from text.
Embeddings
Generating vector embeddings for text or other supported inputs.
ToolCalling
Invoking external functions or tools through model-generated tool calls.
StructuredOutput
Producing outputs constrained to a structured format, such as JSON or a JSON Schema.
Reasoning
Classified as supporting multi-step reasoning capabilities.
This is a provider/model classification and does not imply a uniform reasoning level or quality guarantee.
Trait Implementations§
Source§impl Clone for ModelCapability
impl Clone for ModelCapability
impl Copy for ModelCapability
Source§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>,
impl Eq for ModelCapability
Source§impl Hash for ModelCapability
impl Hash for ModelCapability
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.