pub enum EvalOnFail {
RetryWithFeedback,
Escalate,
Halt,
LogAndContinue,
}Expand description
What the eval node does when one or more scorers fail.
Variants§
RetryWithFeedback
Feed scorer feedback back to the previous node and retry.
Escalate
Escalate to human (triggers HumanApproval fallback node).
Halt
Fail the workflow immediately.
LogAndContinue
Record the failure but continue the workflow.
Trait Implementations§
Source§impl Clone for EvalOnFail
impl Clone for EvalOnFail
Source§fn clone(&self) -> EvalOnFail
fn clone(&self) -> EvalOnFail
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 moreSource§impl Debug for EvalOnFail
impl Debug for EvalOnFail
Source§impl Default for EvalOnFail
impl Default for EvalOnFail
Source§fn default() -> EvalOnFail
fn default() -> EvalOnFail
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EvalOnFail
impl<'de> Deserialize<'de> for EvalOnFail
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 EvalOnFail
impl RefUnwindSafe for EvalOnFail
impl Send for EvalOnFail
impl Sync for EvalOnFail
impl Unpin for EvalOnFail
impl UnsafeUnpin for EvalOnFail
impl UnwindSafe for EvalOnFail
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