Skip to main content

ai_output_schema

Function ai_output_schema 

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

The structured-output JSON schema (raw text) from the node’s outputSchema field, used by the "structured" task. Stored as a string so it round-trips through the DSL; the model is prompted to produce JSON matching it. None when unset or blank.