Skip to main content

CAILA NLU

tip
CAILA (Conversational AI Linguistic Assistant) is an NLU core for the development of chatbots and assistants that are based on JAICP and understand natural language.

The following features will be available to you when you write a CAILA bot:

  • Extended NLU settings. You can configure new NLU options unique for each project.
  • Detecting user intents. An intent is a key entity of the NLU service; it combines a set of phrases, user intent and other metadata.
  • System and custom entities. An entity is a unit of the NLU core of CAILA. An entity is a sequence of words linked by an intent or rule. For example: names, date and time, location, etc.
  • Client entities are entities that can be personalized by the client during a conversation with the bot. The contents of such an entity are accessible to the client only. Client entities are used when personalization is required to identify intents.
  • Slot filling is the process of inquiring about additional details in order to process a client request. The data acquired during an additional data request are available for use in the script.
  • Data labeling is a tool you can use to extract message subjects from the loaded data to which the bot will respond.
  • You can use your trained classifier in external applications via the CAILA API.

Connecting

To work with the NLU service specify the following parameters in the chatbot.yaml configuration file:

language: en
botEngine: v2

nlp:
intentNoMatchThresholds:
phrases: 0.2
patterns: 0.2

The parameters are as follows:

  • language is the classifier language.
  • intentNoMatchThresholds is the minimum required similarity of training phrases and patterns. The default value of phrases and patterns is 0.2. If the classifier cannot categorize the request, a noMatch event is triggered.