This invention provides a reactive
planning method based on a large
language model, comprising: designing replanning logic, including multi-step logic and three-hop logic, analyzing the
impact of various factors on the completion of the task objective step by step, and updating the current plan in a chain; each step employs reasoning logic including
cause analysis logic, conclusion derivation logic, and plan adjustment logic; designing replanning prompts; receiving user commands, generating an initial plan based on user instructions, storing the initial plan, and recording the current plan's progress information; detecting and capturing
environmental change information through the
robot, and iteratively updating the plan based on
environmental change information, plan progress information, user commands, replanning prompts, and replanning logic. This invention also provides a reactive planning
system, storage medium, and electronic device based on a large
language model. Therefore, this invention enables low-cost, high-accuracy, and high-generalization
robot reactive planning.