| from planner import plan_actions | |
| def infer_from_text(goal_text): | |
| steps = plan_actions(goal_text) | |
| print(f"Goal: {goal_text}\nPlanned Steps:") | |
| for i, step in enumerate(steps, 1): | |
| print(f"{i}. {step}") | |
| if __name__ == "__main__": | |
| infer_from_text("organize my workspace") | |