Fusing task-oriented and open-domain dialogues in conversational agents