pub struct ModelRouting {
pub primary_model: String,
pub fallback_models: Vec<String>,
pub temperature: f32,
}Expand description
LLM model routing configuration.
Fields§
§primary_model: String§fallback_models: Vec<String>§temperature: f32Trait Implementations§
Source§impl Clone for ModelRouting
impl Clone for ModelRouting
Source§fn clone(&self) -> ModelRouting
fn clone(&self) -> ModelRouting
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 ModelRouting
impl Debug for ModelRouting
Source§impl Default for ModelRouting
impl Default for ModelRouting
Source§impl<'de> Deserialize<'de> for ModelRouting
impl<'de> Deserialize<'de> for ModelRouting
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
Auto Trait Implementations§
impl Freeze for ModelRouting
impl RefUnwindSafe for ModelRouting
impl Send for ModelRouting
impl Sync for ModelRouting
impl Unpin for ModelRouting
impl UnsafeUnpin for ModelRouting
impl UnwindSafe for ModelRouting
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