沃森对话对话,如何使用插槽保存用户输入 [英] Watson Conversation Dialogue, how to save user input using slot

查看:93
本文介绍了沃森对话对话,如何使用插槽保存用户输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Watson对话中,我正在尝试使用广告位读取用户输入的内容, 我的要求是提示用户输入问题描述,并将其保存在名为issue_description的变量中.

In my Watson conversation dialogue am trying to read user input using slot, my requirement is to prompt user for enter an issue description and save it in a variable named issue_description.

但是在插槽中,watson在将其保存到变量之前检查意图或实体.就我而言,我打算进行检查,但检查后未将其保存到变量中,我始终会以issue_description的形式获得true.

but in slot, watson check for intent or entity before saving it into a variable. in my case i have put an intent to check with, but it is not saved into variable after the check, i always get true as issue_description.

如何将问题_description保存到变量中?

how can i save the issue _description into a variable?

这可能是什么意图和实体?

what should be the possible intent and entity for this?

推荐答案

如果要保存用户输入,则可以使用将输入保存到任何变量中.

If you want to save user input then you can use to save the input in any variable.

"context":{
"issue_description":"<?input.text?>"
}

这篇关于沃森对话对话,如何使用插槽保存用户输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆