pub enum EntryType {
UserMessage,
AssistantMessage,
SystemMessage,
ToolCall {
tool_name: String,
success: bool,
},
SkillExecution {
skill_name: String,
success: bool,
},
EvaluationResult {
score: f64,
metrics: HashMap<String, f64>,
},
SystemEvent {
event: String,
},
}Expand description
Type of entry in a session.
Variants§
UserMessage
User message.
AssistantMessage
Assistant/AI response.
SystemMessage
System message.
ToolCall
Tool invocation.
SkillExecution
Skill execution.
EvaluationResult
Evaluation result.
SystemEvent
System event (logging, state changes, etc.).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EntryType
impl<'de> Deserialize<'de> for EntryType
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
impl StructuralPartialEq for EntryType
Auto Trait Implementations§
impl Freeze for EntryType
impl RefUnwindSafe for EntryType
impl Send for EntryType
impl Sync for EntryType
impl Unpin for EntryType
impl UnwindSafe for EntryType
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