الترقية إلى خدمة تجارية Bot Libre for Business فقط 4.99 دولار شهريا
Help : How to integrate bot with information sources

RE: How to integrate bot with information sources

قبل admin نشر Mar 20 2016, 12:21

For the JavaScript SDK you use the SDKConnection chat() API to chat with a bot.

The API takes a ChatConfig object which has a conversation field you can set to chat in the same conversation,

http://www.botlibre.com/jsdoc/symbols/ChatConfig.html

The chat() API returns a ChatResponse object which has the same conversation field that gives the current conversation ID. Use this ID in your next chat() request.

http://www.botlibre.com/jsdoc/symbols/ChatResponse.html

In the web XML API, the conversation is an attribute in the chat message and response XML. In the web form API, the conversation is a form parameter.


معرف: 12399456
نشر: Mar 20 2016, 12:21
الردود: 0
الآراء: 1729, اليوم: 2, الأسبوع: 3, الشهر: 14
0 0 0.0/5