JAICP updates in December 2022
New
- Different thresholds for NLU phrases and patterns.
- New formats of answers to FAQ questions.
- Built-in
$faq
service. - Script export from J‑Graph as a PNG.
Docs
- Updated reference on action (custom) tags.
Different thresholds for NLU phrases and patterns
Previously, the chatbot.yaml
configuration file often contained the caila.noMatchThreshold
property,
which sets a common threshold for both training phrases and patterns when working with the NLU classifier.
You can now set different thresholds for training phrases and patterns.
To do this, use the nlp.intentNoMatchThresholds
property instead.
This property contains the phrases
and patterns
fields with default values of 0.2
.
New formats of answers to FAQ questions
Now you can answer FAQ questions with more than just text: upload images, audio files, and files. You can attach messages that the bot will send to the user in the order you arranged them.
Built-in $faq service
The built-in $faq
service will simplify interaction with the FAQ. Now you can use:
- The
getReplies
method to get all messages that are part of an answer to a question in JSON. - The
pushReplies
method to get these messages and immediately send them to the user.
Script export from J‑Graph as a PNG
By selecting in the top left corner of the J‑Graph visual editor, you can now export the script as a PNG image.
Action tags reference
Action tags are special tags in JAICP DSL. They execute complex and frequently repeated bot actions or script fragments, such as an HTTP request or a transfer to an agent.
Previously, action tags were called “custom tags”.
This month, we have made a number of updates to the action tags reference:
- In the built-in tags section, we have improved all tag references as well as added new ones:
- The step-by-step tutorial on creating your own tags has been improved as well:
- Now it features an extended tag script example.
- It shows how to use action tags not only through code, but also in the J‑Graph visual editor.
- It also describes the settings which regulate how tags appear as J‑Graph actions.
Additionally, there is a new article on HTML markup in bot replies.