[英]Wit.ai node package buggy
I was working with wit.ai today. 我今天正在与wit.ai合作。 I was using the
node-wit
module. 我正在使用
node-wit
模块。 But the responses I was acting were very weird. 但是我的反应很奇怪。
When I used the node-wit
module. 当我使用
node-wit
模块时。 I got the response as - 我得到的答复是-
{
"msg_id": "0f4rOWRXQMIhVuf5i",
"_text": "what is your name",
"entities": {
"intent": [{
"confidence": 0.9425254893432,
"value": "get_name"
}]
}
}
Whereas when i used the cURL command to get the response the response was very different. 而当我使用cURL命令获取响应时,响应却大不相同。
{
"msg_id": "0KJdIPedYbYwWOgOL",
"_text": "what do you do",
"entities": {
"intent": [{
"confidence": 0.97713342030998,
"value": "get_job"
}]
}
}
Can anyone tell why this is happening or if I am implementing the function wrong? 谁能说出这种情况发生的原因,或者我执行的函数是否错误?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.