Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用智能问答时,均配置成功,在微信对话开放平台测试也有正常返回,但在控制台看到回复消息为空 #23

Open
liqi199315 opened this issue Mar 14, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@liqi199315
Copy link

09:00:11 INFO 最新消息池长度: 1
keyWord is: 一一
09:00:11 INFO 当前群在白名单内,请求问答...
09:00:11 INFO 对话返回原始: [object Object]
09:00:11 INFO 回答内容:
回复消息: {}
写入vika成功: 1 200

@kadaliao
Copy link

kadaliao commented Apr 10, 2023

一样的问题

知道原因了,

一种可能是兜底回复的confidence小于0.8,所以不回复,代码里写死的。

一种可能是回复的内容是multimsg,代码里没有处理,可以自行添加

case 'multimsg':
  answer = {
    messageType: types.Message.Text,
    text:JSON.parse(resMsg.answer).multimsg.join('\n'),
  }
break

@choogoo choogoo added the help wanted Extra attention is needed label Apr 25, 2023
choogoo added a commit that referenced this issue Apr 25, 2023
@choogoo choogoo closed this as completed Apr 25, 2023
@choogoo choogoo reopened this Apr 25, 2023
@choogoo choogoo added good first issue Good for newcomers and removed help wanted Extra attention is needed labels May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants