ProviderClassification

Trait ProviderClassification 

Source
pub trait ProviderClassification {
    // Required methods
    fn is_config_driven(&self) -> bool;
    fn supports_custom_config(&self) -> bool;
    fn adapter_type(&self) -> AdapterType;
    fn get_default_config(&self) -> Result<ProviderConfig, AiLibError>;
}
Expand description

Provider classification trait defining behavior patterns

Required Methods§

Source

fn is_config_driven(&self) -> bool

Check if this provider is config-driven (uses GenericAdapter)

Source

fn supports_custom_config(&self) -> bool

Check if this provider supports custom configuration

Source

fn adapter_type(&self) -> AdapterType

Get the adapter type for this provider

Source

fn get_default_config(&self) -> Result<ProviderConfig, AiLibError>

Get the default configuration for this provider

Implementors§