Skip to main content

ai_expect

Function ai_expect 

Source
pub fn ai_expect(node: &FlowNode) -> Option<String>
Expand description

The node’s natural-language output expectation (expect field) for per-node AI evaluation (roadmap E1). When set, the generate path self-evaluates the output against it and fails the node - engaging the monitor/fix flow - if unmet. None when unset/blank.