Gupshup-Wit.ai integration very slow / getting stuck

只愿长相守 提交于 2019-12-25 11:55:02

问题


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.

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.

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


回答1:


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

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

  1. Wit.ai quick start guide
  2. Gupshup's making HTTP calls guide

This will be a GET call.



来源:https://stackoverflow.com/questions/45327145/gupshup-wit-ai-integration-very-slow-getting-stuck

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!