<prompt> Translate the following text to SwahiliBy the time the Chinese sage, Hiuen Tsang, came here in the seventh century, it was a thriving university for teaching philosophy, logic, grammar, medicine, and Buddhist theology.  <response>: Wakati Hu Jia wa China, Hu Jia, alipofika huko katika karne ya saba, ilikuwa chuo kikuu chenye kusitawi cha kufundisha falsafa, mantiki, sarufi, dawa, na theolojia ya Kibuddha. 