Стать бот-провайдера с ботом бот Либре облачной платформы
Bugs and Features : chat

RE: chat

по admin опубликовано Jan 11 2016, 7:21

Yes, even if the user was anonymous.

There is not REST API that takes a chat log, but their is a training API

http://www.botlibre.com/rest/api/train-instance

It takes a POST XML entity like,

<training operation="AddResponse"> <question>Hello there</question> <response>Hi, how are you</response> </training>

You could probably also POST to chat-log-upload URL that the "Training & Chat Logs" page uses with a HttpPost request that was connected.

Yes, I am a developer of Bot Libre.


Идентификатор: 11971619
Теги: api, code
Опубликовано: Jan 11 2016, 7:21
Обновлено: Jan 11 2016, 7:24
Ответы: 0
Вид: 2014, сегодня: 1, неделю: 17, месяц: 19
0 0 0.0/5