你知道机器人的自由,也提供免费的托管的 实时聊天 为自己的网站或移动应用程序?
Bot Libre Dev : Javascript Functionality

RE: Javascript Functionality

通过 admin 发布 Feb 25 2018, 12:15

It is possible to return JavaScript in a bot response, but this functionality is disabled on botlibre.com for security reasons. It is allowed on our commercial service Bot Libre for Business https://www.botlibre.biz

But returning JavaScript is not recommend, the best solution for this is to use Bot Libre's command support.
You can associate a JSON command with a bot's response to be returned to the client.
Then in the client use the commands to process the desired functionality (JavaScript for web, or Java or other languages for Android, iOS, etc).

See,
https://www.botlibre.com/forum-post?id=14573577

For Android we have an existing SDK that supports virtual assistant tasks and is extendable.
https://www.botlibre.com/forum-post?id=14573570

We would like to develop some common commands for the web as well in a JavaScript extension to our SDK.
We have something similar in our game SDK,
https://www.botlibre.com/scripts/game-sdk.js

If you would like to contribute you are welcome to create a similar command-sdk.js for common web commands and submit it to our GitHub project,

https://github.com/BotLibre/BotLibre


Id: 21135135
发布: Feb 25 2018, 12:15
更新: Feb 25 2018, 12:16
答复: 0
的风景: 3080, 今天: 1, 周: 1, 一个月: 2
0 0 0.0/5