Create, Evaluate, and Connect AI Skills
Python ai-agentsai-skillsartificial-intelligenceknowledge-graphlarge-language-modelsnatural-language-processingopenkgskillnetskills
AlfWorld Action Guide for Object Placement
Core Action
put {obj} in/on {recep}
Preposition Rules
Use the following guide to choose in or on:
Use in for:
- Enclosed containers:
cabinet,fridge,microwave,drawer,garbagecan,box,shelf(if it has walls). - Receptacles that hold items internally.
Use on for:
- Surfaces:
countertop,desk,table,shelf(open). - Holders:
toiletpaperhanger,towelholder,handtowelholder,plateholder. - Appliances:
stoveburner,toaster.
Common Failure Modes & Solutions
"Nothing happened" on
putaction:- Cause 1: The agent is not holding the specified
{obj}.- Solution: Use
take {obj} from {source_recep}first.
- Solution: Use
- Cause 2: The
{recep}is closed or inaccessible.- Solution: Use
open {recep}before placing the object inside.
- Solution: Use
- Cause 3: The preposition (
in/on) is incorrect for the receptacle type.- Solution: Consult the table above and try the alternative preposition.
- Cause 4: The receptacle is already occupied/full.
- Solution: Clear the receptacle first (e.g., remove existing objects).
- Cause 1: The agent is not holding the specified
Object not found for pickup:
- Search common locations: countertops, tables, shelves, cabinets, and other receptacles relevant to the object's type (e.g., toilet paper is often near a toilet).
Example from Trajectory
Goal: Put a toiletpaper in toiletpaperhanger. Successful Sequence:
go to toiletpaperhanger 1(Verify it's empty)go to toilet 1(Locate object)take toiletpaper 1 from toilet 1(Acquire object)go to toiletpaperhanger 1(Navigate to target)put toiletpaper 1 on toiletpaperhanger 1(Execute placement - uses 'on' for a holder)