pub enum ClassifierMode {
Capability,
Escalation,
Custom,
}Expand description
Which of the three llm_classifier behaviors a route uses.
Variants§
Capability
Judges the request first, then serves the strong or weak target.
Escalation
Serves the weak target first and judges the finished turn, moving to the strong target once the session latches.
Custom
Judges against your own JSON schema and routes to any configured target.
Trait Implementations§
Source§impl Clone for ClassifierMode
impl Clone for ClassifierMode
Source§fn clone(&self) -> ClassifierMode
fn clone(&self) -> ClassifierMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClassifierMode
Source§impl Debug for ClassifierMode
impl Debug for ClassifierMode
Source§impl<'de> Deserialize<'de> for ClassifierMode
impl<'de> Deserialize<'de> for ClassifierMode
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 ClassifierMode
impl RefUnwindSafe for ClassifierMode
impl Send for ClassifierMode
impl Sync for ClassifierMode
impl Unpin for ClassifierMode
impl UnsafeUnpin for ClassifierMode
impl UnwindSafe for ClassifierMode
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