The current workflow includes:
- The agent is given user instruction query
- Agent is asked to act as a shopping agent and has to buy the product matching the user instruction.
- It has design it's own search query and navigate through page.
There are three expand modes in reactree: 1. sequence - follow one by one, if one fails whole sequence fails 2. fallback - (attempt subgoals in order until one succeeds) 3. parallel: achieve subgoals in parallel (this enables tasks to continue independtly, even if one subgoal fails)
Now in webshop, best search query need not include
changed the prompt to adjust for search query,
- parallel can be used to explore multiple products
- fallback can be used if any one of the condition is failed, then backtrack
- sequence can be used to in situation's where
- In the first search query the agent is almost giving whole user instruction and then further deciding to decompose the goal.
User query: "Find me non slip, easy clean computer armoires with pu leather with color: gray, and size: 90x40cm, and price lower than 60.00 dollars"
search inst: computer armoire gray 90x40cm under 60 pu leather