import xiaoiceapi xb = xiaoiceapi.xiaoiceApi() print(xb.chat("你是谁"))