Skip to main content

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.

note

Previously, action tags were called “custom tags”.

This month, we have made a number of updates to the action tags reference:

Additionally, there is a new article on HTML markup in bot replies.