pub enum NodeExecutionData {
Show 22 variants
Start {
next: String,
},
Llm {
model: String,
output: String,
next: String,
},
Tool {
tool: String,
output: Value,
next: String,
},
Condition {
expression: String,
evaluated: bool,
next: String,
},
Debounce {
key: String,
suppressed: bool,
next: String,
},
Throttle {
key: String,
throttled: bool,
next: String,
},
RetryCompensate {
tool: String,
attempts: usize,
compensated: bool,
output: Value,
next: String,
},
HumanInTheLoop {
approved: bool,
response: Value,
next: String,
},
CacheRead {
key: String,
hit: bool,
value: Value,
next: String,
},
CacheWrite {
key: String,
value: Value,
next: String,
},
EventTrigger {
event: String,
matched: bool,
next: String,
},
Router {
selected: String,
next: String,
},
Transform {
expression: String,
output: Value,
next: String,
},
Loop {
condition: String,
evaluated: bool,
iteration: u32,
next: String,
},
Subgraph {
graph: String,
terminal_node_id: String,
output: Value,
next: String,
},
Batch {
items_path: String,
item_count: usize,
next: String,
},
Filter {
items_path: String,
expression: String,
kept: usize,
next: String,
},
Parallel {
branches: Vec<String>,
outputs: BTreeMap<String, Value>,
next: String,
},
Merge {
policy: MergePolicy,
sources: Vec<String>,
output: Value,
next: String,
},
Map {
item_count: usize,
output: Value,
next: String,
},
Reduce {
operation: ReduceOperation,
output: Value,
next: String,
},
End,
}Expand description
Structured result data emitted for each node.
Variants§
Start
Start node transition.
Llm
LLM node output.
Tool
Tool node output.
Condition
Condition node decision.
Fields
Debounce
Debounce gate decision.
Fields
Throttle
Throttle gate decision.
Fields
RetryCompensate
Explicit retry/compensation execution result.
Fields
HumanInTheLoop
Human decision result.
Fields
CacheRead
Cache read result.
Fields
CacheWrite
Cache write result.
EventTrigger
Event trigger evaluation result.
Fields
Router
Router/selector decision.
Transform
Transform node output.
Fields
Loop
Loop node decision.
Fields
Subgraph
Subgraph execution result.
Fields
Batch
Batch extraction result.
Fields
Filter
Filter evaluation result.
Fields
Parallel
Parallel node aggregate result.
Fields
Merge
Merge node aggregate output.
Fields
§
policy: MergePolicyMerge policy used.
Map
Map node output.
Fields
Reduce
Reduce node output.
Fields
§
operation: ReduceOperationReduce operation executed.
End
End node reached.
Trait Implementations§
Source§impl Clone for NodeExecutionData
impl Clone for NodeExecutionData
Source§fn clone(&self) -> NodeExecutionData
fn clone(&self) -> NodeExecutionData
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 NodeExecutionData
impl Debug for NodeExecutionData
Source§impl PartialEq for NodeExecutionData
impl PartialEq for NodeExecutionData
impl StructuralPartialEq for NodeExecutionData
Auto Trait Implementations§
impl Freeze for NodeExecutionData
impl RefUnwindSafe for NodeExecutionData
impl Send for NodeExecutionData
impl Sync for NodeExecutionData
impl Unpin for NodeExecutionData
impl UnsafeUnpin for NodeExecutionData
impl UnwindSafe for NodeExecutionData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request