Присоединяйтесь к Сэп Libre проект с открытым исходным кодом на BotLibre.org
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
Вид: 1938, сегодня: 1, неделю: 3, месяц: 7
0 0 0.0/5