Pamini: A framework for assembling mixed-initiative human-robot interaction from generic interaction patterns