Esempio n. 1
0
        public static void WriteUnknow(string str, string query)
        {
            Console.ForegroundColor = ConsoleColor.Blue;
            Console.WriteLine(str);
            Console.ResetColor();
            string xiaoice = XiaoIce.XiaoIceResponse(query);

            Console.WriteLine(xiaoice);
#if LOCAL
#else
            //DialogHttpServer.dialog_history.Add($"Bot-Unknow: {str}");
            DialogHttpServer.dialog_history.Add($"Bot: {xiaoice}");
#endif
        }
Esempio n. 2
0
 private static void TestXiaoIce()
 {
     Console.WriteLine(XiaoIce.XiaoIceResponse("你好啊"));
     return;
 }