JAICP updates in January 2024
New
- List of valid values in action tags.
- Advanced text campaign control utilities.
- The
$dialer.setAsrProperty
method for ASR settings. - Additional user request data in ASR results.
List of valid values in action tags
If you develop your own action tag, you can specify a list of valid values for a tag parameter in the parameters[].userInterfaceField
property.
In the J‑Graph visual editor, only values from this list can be selected for the parameter.
Advanced text campaign control utilities
Previously JAICP didn’t use to have any special mechanisms for controlling text campaigns, except for pause and stop buttons. When a campaign was launched, messages would be sent to all clients from the list and as fast as possible.
Now text campaigns have gained several new utilities:
-
Special launch settings: the interval between sending messages and the number of message threads. By tweaking these two parameters, you can spread out the campaign lifespan to increase or reduce the load on your bot.
-
Postponing and canceling messages to clients. The JavaScript API features a new
$textCampaign
built-in service, which allows you to postpone or cancel a message for a specific client during a campaign.
$dialer.setAsrProperty method for ASR settings
The new $dialer.setAsrProperty
method allows you to specify additional settings for ASR providers.
For example, with this method you can:
- Enable sentiment analysis in Tinkoff Voicekit.
- Specify what languages should be recognized by Yandex SpeechKit v3.
Additional user request data in ASR results
Now, additional user request data received from ASR provider is available in $request.rawRequest
. For example, you can get:
- Hypotheses about user gender in Tinkoff Voicekit.
- The list of recognized languages and their probability in Yandex SpeechKit v3.