complete demo_chat