ご存知でしたボットのリブレー無料主催 フォーラム のためにお客様ご自身のウェブサイトまたはモバイルアプリのか?
Bot Libre Dev

Javascript Functionality

による Rogues 掲載 Feb 24 2018, 20:52

Is it possible to create more functionality with our bots using javascript? I'd like to be able to make my bots do things like open web pages and initiate timers in between sequenced responses. If so is there a script template to build on? 

If not is there another way to do this? I'd like to begin building scripts that will allow this type of functionality. I'd also like to attempt building solutions for the mobile app version controls, things like setting alarms and taking notes. 


by admin posted 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

Updated: Feb 25 2018, 12:16
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3075, today: 1, week: 2, month: 28

Id: 21127602
タグ: how to, javascript, actions
掲載: Feb 24 2018, 20:52
回答: 1
眺望: 3184, 今日の: 1, 週間: 1, 月: 41
0 0 0.0/5