Gupshup-Wit.ai集成非常慢/被卡住 [英] Gupshup-Wit.ai integration very slow / getting stuck

查看:101
本文介绍了Gupshup-Wit.ai集成非常慢/被卡住的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Gupshup IDE Bot Builder和Wit.ai用于我网站上的ChatBot小部件. 我在没有Gupshup(node-js)的情况下在FB-messenger中制作了相同的机器人,并且效果很好.

I am using Gupshup IDE Bot Builder and Wit.ai for a ChatBot widget on my website. I have made the same bot in FB-messenger without Gupshup (node-js) and it works fine.

使用Gupshup时,机器人通常会卡住并且不响应. 当我在Gupshup代理bot中对其进行测试时,也会发生这种情况.看来问题出在Gupshup与Wit.ai之间的通讯上.

When using Gupshup, the bot often gets stuck and does not respond. This also happens when I test it in the Gupshup proxy bot. So it seems like the problem is with the communication between Gupshup and Wit.ai.

有人遇到过同样的问题吗?如果我在外部构建bot并将其也链接到Gupshup,它会改善吗?

Has anyone experienced the same issue? Will it improve if I build my bot outside and link it too Gupshup?

推荐答案

wit.ai的API和行为最近已更改. Gupshup将很快更新wit.ai模板.

The APIs and behavior of wit.ai have changed recently. Gupshup will update the wit.ai template soon.

同时,您可以将wit.ai API直接集成到Gupshup上的bot中. 这些资源应有帮助:

In the mean time, you can integrate the wit.ai API directly into the bot on Gupshup. These resources should help:

  1. Wit.ai 快速入门指南
  2. Gupshup的制作HTTP调用指南
  1. Wit.ai quick start guide
  2. Gupshup's making HTTP calls guide

这将是一个GET调用.

This will be a GET call.

这篇关于Gupshup-Wit.ai集成非常慢/被卡住的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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