pub enum SessionType {
TeacherDemo {
task: String,
model: String,
},
Evaluation {
skill_name: String,
test_cases: usize,
},
Refinement {
skill_name: String,
iteration: usize,
},
Conversation {
purpose: String,
},
Agent {
agent_name: String,
},
}Expand description
Type of session.
Variants§
TeacherDemo
Teacher demonstration session (for distillation).
Evaluation
Skill evaluation run.
Refinement
Skill refinement session.
Conversation
Generic conversation session.
Agent
Agent interaction session.
Trait Implementations§
Source§impl Clone for SessionType
impl Clone for SessionType
Source§fn clone(&self) -> SessionType
fn clone(&self) -> SessionType
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 SessionType
impl Debug for SessionType
Source§impl<'de> Deserialize<'de> for SessionType
impl<'de> Deserialize<'de> for SessionType
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
Source§impl PartialEq for SessionType
impl PartialEq for SessionType
Source§impl Serialize for SessionType
impl Serialize for SessionType
impl Eq for SessionType
impl StructuralPartialEq for SessionType
Auto Trait Implementations§
impl Freeze for SessionType
impl RefUnwindSafe for SessionType
impl Send for SessionType
impl Sync for SessionType
impl Unpin for SessionType
impl UnwindSafe for SessionType
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