Bot Libre Dev : Javascript Functionality Sign In : Sign Up

RE: Javascript Functionality

by admin posted Feb 25, 12:15

It is possible to return JavaScript in a bot response, but this functionality is disabled on for security reasons. It is allowed on our commercial service Bot Libre for Business

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).


For Android we have an existing SDK that supports virtual assistant tasks and is extendable.

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,

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,

Id: 21135135
Posted: Feb 25, 12:15
Updated: Feb 25, 12:16
Replies: 0
Views: 61, today: 1, week: 1, month: 56
I'm sure