InterAct: Exploring the Potentials of ChatGPT as a Cooperative Agent