Prompt for action completion

Description from the leaf node in HTT for AI2THOR: Place a rinsed spoon into the drawer


Prompt: API functions of the supported objects and actions are (selected environment provided relevant object types by LLM):

The robot can do these actions (selected environment provided possible actions by LLM):

For the task “Place a rinsed spoon into the drawer” (description from HTT’s leaf node), generate a sequence of actions with the API functions provided above. Please reply in format:

{
"reasoning_and_explaination":    
"task_sequence":['find_object_by_state(pineapple,heat)','move_to(pineapple)'](the splittd task sequence),
}

Possible output from LLM:

{
"reasoning_and_explanation": "To complete the task of placing a rinsed spoon into the drawer, the robot must first locate a spoon that has been rinsed (assuming 'rinsed' is a state similar to 'cleaned'). After finding the spoon, the robot needs to move to the location of the spoon to pick it up. Once the spoon is in the robot's possession, the robot must locate a drawer, move to it, and then open the drawer to place the spoon inside. Finally, the robot should close the drawer to complete the task.",

"task_sequence": [
    "find_object_by_state(spoon, [cleaned])",
    "move_to(spoon)",
    "pickup_object(spoon)",
    "find_object_by_state(drawer, [])",
    "move_to(drawer)",
    "open_object(drawer)",
    "place_object()",
    "close_object(drawer)"  
    ]
}