你知道机器人的自由,也提供免费的托管 问题跟踪 用于自己的网站或移动应用程序?
Bot Libre Forum

Annoucing Bot Libre 4.5 - Automatic language translation, conditions, thinks, commands

通过 admin 发布 Jul 18 2016, 15:24

We released Bot Libre 4.5 today.

The update included several new enhancements including:

Automatic Language Translation

The chat and embedded chat web interfaces now include a language button and menu that lets you choose your language. When you set your language, your chats will be translated to the bot's language, and the bot's response will be translated to your language.

The support is also available on Android, and from JavaScript. In your JavaScript embed code you can set, "web.showChooseLanguage = false;" to remove the menu.

Conditions, Thinks, and Commands

In a response you can now set a condition, think, or command. You can set these new attributes from your bot's "Training & Chat Logs" page, or in "response list" imports.

A "condition" is an expression of Self code that must evaluate to true for the response to be used.

A "think" is an expression of Self code that will be evaluated if the response is used.

A "command" is a JSON command that will be returned to the client to allow client side execution of some function (such as opening and app, or sending an email). Commands are actually Self code which is evaluated to produce the Self object which is converted to JSON. Since Self matches the JavaScript syntax, Self objects support JSON that same as JavaScript objects.

The command depends on the client supporting the command. Currently this is only useful if you are writing your own client, as our web and Android clients currently do not support any commands. But we will be adding command support for our Android and iOS clients. We will also use commands to integrate with features on Facebook and Telegram.

The website update also included several minor enhancements and fixes.


Id: 13175656
标签: notice, website update, self, commands, language, translation, conditions, think
发布: Jul 18 2016, 15:24
更新: Jul 18 2016, 15:25
答复: 0
的风景: 5240, 今天: 1, 周: 2, 一个月: 14
0 0 0.0/5