New
- Support for Ukrainian in CAILA.
Improved
- Updated color theme.
- Support for stickers in the Telegram channel.
Docs
- New article on how to train intents.
- A guide on setting up telephony via the Vonage provider.
- Reference on payments in Telegram using special reply types and events.
- Updated article on user roles and permissions.
The first change you will likely notice in release 1.11.8 is that we have updated the JAICP color palette. Now all UI sections use a consistent scheme, with deep purple being the primary color.
Other notable changes include the support for Ukrainian in CAILA and stickers in the Telegram channel, as well as a whole lot of new and updated documentation articles.
Ukrainian language
We are continuing to expand the scope of languages understood by bots built on JAICP and have added the support for Ukrainian in CAILA.
Projects in Ukrainian support the NLU engines using patterns and intents, Duckling system entities,
as well as the $caila.inflect
method and spell checking.
Stickers in Telegram
Bot scripts for the Telegram channel can now handle stickerEvent
—
an event triggered when the client sends a sticker to the chat.
The sticker metadata such as its dimensions, presence of animation, the corresponding emoji, etc.,
is accessible in the event handler state via $request.data.eventData
.
Example metadata
{
"file_id": "CAACAgIAAxkBAAIEEmHxVulVK5-ctf22Mes9jGXRBVTdAAIdFwACKyEFAAHPqSzw8fRaOyME",
"file_unique_id": "AgADHRcAAishBQAB",
"width": 512,
"height": 512,
"is_animated": false,
"thumb": {
"file_id": "AAMCAgADGQEAAgQSYfFW6VUrn5y1_bYx6z2MZdEFVN0AAh0XAAIrIQUAAc-pLPDx9Fo7AQAHbQADIwQ",
"file_unique_id": "AQADHRcAAishBQABcg",
"width": 128,
"height": 128,
"file_size": 2436
},
"emoji": "😭",
"set_name": "madl4bor",
"file_size": 30934
}
Documentation updates
How to train intents
In a new article on How to train intents, we have gathered practical recommendations for creating intent classifiers using the CAILA NLU service. Here you will find out the difference between classifier algorithms, how to prepare the training data you have, and how to distribute it across intents.
Vonage provider
Vonage (formerly Nexmo) is a provider of cloud solutions for business communications, from whom you can rent virtual phone numbers to set up inbound calls. The new Connect the Vonage provider article describes how to integrate Vonage telephony into JAICP.
Payments in Telegram
In release 1.11.5, JAICP received support for payments in Telegram.
However, we only described how to use this feature via the TelegramPayment
action tag.
We have prepared new references on special reply types and events, which you can use to process payments in the bot script in an alternative, more flexible way. There is also a separate article on Payments in Telegram which showcases a complete implementation example.
Role model
We have updated the table of levels of access for account users having different roles and clarified the purpose of special roles.