kaiyuanshe/osschat

BOT OSSChatKaiyuansheTasks: ERR WechatyChatopera init bot faq fail

hailiang-wang opened this issue · 4 comments

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.

image

It is the same commit that adding the chat room and its faqs.
Even after another start, get the same error ERR WechatyChatopera init bot faq fail

image

Please give more explanations. @mukaiu
In what condition, with what symbols we should use double quotations for the answer. Thanks.

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.