How to Use Language Detection

How to Use Language Detection

What is Language Detection Module for?

This module is created for detecting the language of user input. It is possible to detect language and send the user to different flows according to the language of the input.

How to use Language Detection Module?

1) Add an input module to your flow

Input module needs to be added just before Language Detection Module. This way, we guarantee that Language Detection will get the message of user as an input and work on that input. Unless, Language Detection may not work properly.

2) Set Input Type as β€œany”.

Any other changes is not needed to run Language Detection Module.

3) Create a Language Detection Module

4**) Connect the input module to your Language Detection Module**

5) Arrange Language Detection Module according to the need:

a) Select one or more languages according to which ones you want to detect.

You can use β€œ+” icon to add a new language and its connection.

b) Set and select a connection for each of the languages that you want to detect. So when selected language is detected, flow with continue across the selected module.

You can use drop down menus to select language for detection and connection for action after that language is detected.

c) Set a module for fallback scenarios. Fallback will be followed if no language detected among selected ones.

    • Related Articles

    • How to Use Generative AI Module

      What is Generative AI Module for? The Generative AI Module is designed for generating human-like text based on given prompts or input. It utilizes advanced natural language processing and artificial intelligence techniques to produce coherent and ...
    • How to Use the Integration Action for Non-developers

      Why do we need the Integration Action? Virtual assistants are there to provide information and guidance for the user. The knowledge of the assistants is, however, limited to the conversation itself. When virtual assistants are incapable of providing ...
    • How to Use Payment Action

      Before using Payment Action, please make sure that you have at least one digital payment solution from the Integrations section under the company settings. You can find more details about adding Masterpass Integration to your company by clicking ...
    • How to Use Logic Action

      Action usage Logic action is used when there is a conditional flow depending on the value of parameters in the current state. And logic action can contain multiple conditional units but always will use the connection of the last conditional unit ...
    • How to Use Integration Action

      Action usage Use the integration action when you want to call an HTTP integration endpoint to achieve some custom business needs. You can process the parameters saved during the life cycle of the assistant, and either only store them out in some ...