Parameters

Parameters are used to collect information from customers through a series of questions or assign specific values ​​according to conditions to help AI BOT give appropriate responses according to the conversation context.

For example: Name, Phone number, Email, Address, Quantity,...

Get parameters

Use this block when you need to create input parameters and save input data from customers.

How to set up

(1) Drag and drop the Get Parameters block onto the canvas

(2) Click on the “parameters” box to display the configuration interface.

(3) Set parameters at the display interface

  • Enter the parameter name and select the entity type of the parameter [1]

  • Enter AI BOT response content to collect parameters [2]

  • In case the parameter to be obtained is "mandatory", it means AI BOT will only continue the conversation once the parameter has been obtained. Click “mandatory” [3] and continue to set the following items:

(4) Create a connection from the newly created parameter to the corresponding intent/condition/action block.

-> In case more than 1 parameter is needed to perform the next step, set as follows:

(1) Drag and drop the Create Parameters block onto the Canvas

(2) Create parameters that need to be collected by AI BOT. In the example below, the parameters to be collected are "size, color"

(3) Choose to create a connection at the point “When all parameters are met” to the corresponding AI BOT response block/intention/condition/action block.

Assign parameters

Use this block to conditionally assign a value to the parameter and use it in various responses of the AI BOT.

How to set up

(1) Drag and drop the Assign parameters block to the Canvas

(2) Enter the parameter name and the value assigned to that parameter

(3) Select Add to add a new parameter

To set up parameter assignment conditions, drag and drop the “Conditions” block onto the canvas and set it according to the instructions in the section “Conditions"

Tags

Use this block to create/remove object classification tags or create action codes corresponding to the intent (ACTION CODE).

How to set up

(1) Drag and drop the Tag block onto the Canvas [1]

(2) Enter the tag value and press enter to save [2]

(3) Create a connection with the corresponding USER intent that wants to create a classification tag [3]

For example

  • The agree_to_buy intention corresponds to the make_order tag

  • The intention refuse_to_buy corresponds to the tag no_demand label

Tags can be assigned in English. For example: "in need", "VIP guest"...

Last updated