BOT OSSChatKaiyuansheTasks: ERR WechatyChatopera init bot faq fail
hailiang-wang opened this issue · 4 comments
hailiang-wang commented
After fetched commit 85303ec and restart server, come to this error. The peering bot is created but not the faqs.
osschat_1 | 01:17:47 VERB Room ready()
osschat_1 | 01:17:48 VERB WechatyChatopera bot is created for wechaty/vorpal*(OSSChatWechatyVorpal*)
osschat_1 | 01:17:48 VERB WechatyChatopera create bot for wechaty/redux* as it does not exist.
osschat_1 | 01:17:49 VERB WechatyChatopera bot is created for wechaty/redux*(OSSChatWechatyRedux*
osschat_1 | 01:17:50 VERB Room topic()
osschat_1 | 01:17:50 VERB Room topic()
osschat_1 | 01:17:50 VERB Room topic()
osschat_1 | 01:17:50 VERB Room topic()
osschat_1 | 01:17:50 VERB Room topic()
osschat_1 | 01:17:50 VERB Room topic()
osschat_1 | 01:17:51 INFO getting chatopera answer:{"state":"default","createdAt":1636679871103,"string":"我不明白您的意思。","topicName":null,"subReplies":[],"service":{"provider":"fallback"},"logic_is_fallback":true,"logic_is_unexpected":true,"botName":"OSSChatKaiyuansheTasks","faq":[],"profile":{}}
osschat_1 | 01:17:51 INFO No answer from chatopera
osschat_1 | 01:17:51 ERR WechatyChatopera init bot faq fail
No faqs are created.
hailiang-wang commented
mukaiu commented
hailiang-wang commented
Please give more explanations. @mukaiu
In what condition, with what symbols we should use double quotations for the answer. Thanks.
hailiang-wang commented
The trace log does not describe the error explicitly, init bot faq fail
. Does it mean the sytanx error casuses all importing faq fails or just the one with wrong data format. Please give the hints with HIGH STANDARD.