Skip to main content

parse_plan

Function parse_plan 

Source
pub fn parse_plan(raw: &str) -> RedDBResult<AskPlan>
Expand description

Parse the planner model’s output into a typed plan. Tolerates code fences and surrounding prose by extracting the outermost JSON object.