#[non_exhaustive]pub enum ModelSpecificConfig {
SmartReplyConfig(Box<SmartReplyConfig>),
SmartComposeConfig(Box<SmartComposeConfig>),
}Available on crate feature
conversation-models only.Expand description
Specific configurations for different models in order to do evaluation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SmartReplyConfig(Box<SmartReplyConfig>)
Configuration for smart reply model evaluation.
SmartComposeConfig(Box<SmartComposeConfig>)
Configuration for smart compose model evaluation.
Trait Implementations§
Source§impl Clone for ModelSpecificConfig
impl Clone for ModelSpecificConfig
Source§fn clone(&self) -> ModelSpecificConfig
fn clone(&self) -> ModelSpecificConfig
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 ModelSpecificConfig
impl Debug for ModelSpecificConfig
Source§impl PartialEq for ModelSpecificConfig
impl PartialEq for ModelSpecificConfig
impl StructuralPartialEq for ModelSpecificConfig
Auto Trait Implementations§
impl Freeze for ModelSpecificConfig
impl RefUnwindSafe for ModelSpecificConfig
impl Send for ModelSpecificConfig
impl Sync for ModelSpecificConfig
impl Unpin for ModelSpecificConfig
impl UnwindSafe for ModelSpecificConfig
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