Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel6

...

  • Name: Specify the attribute's name that will appear in the Bot Builder UI. Spaces are allowed to support a friendly name.
  • Identifier: This is the unique ID the system uses to refer to the attribute. This value is auto-generated but can be edited before the Attribute is created. 
  • Data Type: Select the data type for your attribute. This determines the values that can be stored in the Attribute and how it will be used in skills. For example, an Attribute of Email will only allow text in the format of an email address name@company.com to be stored. An attribute of the "File" type will allow the user to upload a file such as an image, text file, zip file, MS office file, pdf, etc. Text Data Type attributes support NLP Extraction. 
    The following are the data types available in Luma VA: Boolean, Email, Number, Text, Time, Integer, List, Location, Long, File, JSON, and XML.

    Info
    • The attachment attribute does not allow executable files like exe, dll, vbs, jsp, apk, ipa, sh, bat, com, jar, so, sl, msi, o, swf, class, js, cgi, scr, pif, cmd, vxd,cpl
    • For the attribute of type "File", NLP extraction is not supported.
    • Global Attribute of type 'LIST', 'JSON' and 'XML' should not be used to gather information from the end-user during Skill execution as the end-user can provide only one input for a prompt. These attributes can be used to store or process an array of data received from the Integrations calls. You may use these attributes to store data/values in the conversation flow.
    • Attribute type 'Location' is used to capture the user location in a skill. The attribute should be used in the skill if you want the user to select and provide their location. The Location attribute holds the Longitude and Lattitude associated to the user's location in JSON format. NOTE: A skill with location attribute can only be accept user location through Luma Mobile App or Channels that support Maps.

NLP Extraction

If the selected Data Type is Text, the NLP Extraction Method the field appears on the Attribute Details page. Using NLP Extraction allows the Attribute to pull the value from a user phrase when the skill is triggered, as well as take the user's input as a synonym and align it to a value. This provides a better user experience as it allows skipping prompts and moving the user through the skill conversation faster and easier. For example, if a user were to say 'reset my password for SF'. SF can be a synonym for the value Salesforce in the text Attribute ApplicationName. The skill skips the prompt asking the user for the name of the application and stores 'Salesforce' in the attribute.

...

When the Attribute is assigned value in the desired format, the following attributes are automatically filled.

  • @{global.<attributeidentifier>.latitude}
  • @{global.<attributeidentifier>.longitude}

In the above example, the values will be assigned as below:

  • Attribute @{global.<attributeidentifier>.latitude}  will be assigned 17.447203
  • Attribute @{global.<attributeidentifier>.longitudewill be assigned 78.34873

You can now, use the attribute in the next steps such as Integrations, messages, Rules etc.