Versions Compared

Key

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

...

  1. In your project, go to Create > Components > Intent Library.

  2. Click Add (+). The Create new intent dialog box appears.

  3. Click Next and enter the name for the intent you want to create. For example, RCScheduler.

  4. Click Add. The Intent screen appears.
    Note: Intent Name should be alphabets and underscore only. The Underscores in the beginning and the end of the intent name will be removed automatically upon saving.

  5. On the right side, specify the slots you want to use in the utterances. See Using slots in intents and Creating a custom slot.

  6. In the left side, enter an utterance, such as make an appointment on {date} at {time} with {staff}.

  7. Click Add Utterance for each variation you think a user may use to accomplish their task.
    An utterance can contain alphabets and special characters and must start with an alphabet or slot.

  8. If you want to require confirmation, move the slider button to on, and enter what you want the voice assistant to say to confirm the action before proceeding.

Info

The following image shows the intent without the custom staff slot. See Creating a custom slot for an updated intent that uses the custom staff slot.

...

Slots are spoken utterances of the user. See How do I create lists (slots)? Phrases are spoken by the voice assistant. See also How do I create phrases for the voice assistant?

You can select an existing slot from the Slot Library that is available from the pull-down on an Intents dialog box. You can also create custom slots and map them to natural language processors (NLPs) like Amazon and Google.

...

Info

For Google Dialog flow, the maximum number of slots/entities allowed in intent is 20.

For example, you can create a Number Intent that will take decimal numbers.

  1. Create an intent

  2. Add ORBITA.NUMBER to the List name.

    Image Added

  3. Give a slot name to it. The ORBITA.NUMBER will change to AMAZON.NUMBER.

    Image Added

  4. Refer the slot name to the utterances using curly braces {}.

    Image Added
  5. When you open the curly braces, the list of available slots will be populated in the dropdown. You can select one from the dropdown.

    Image Added

  6. You can create multiple utterances using the bulk upload option.

    Image Added

    Sample for bulk upload

    Code Block
    point {fractionPart}
    point {fractionPart}
    {integerPart}
    {integerPart} over {fractionPart}
    {integerPart} point {fractionPart}
    {integerPart} point {fractionPart}
    {integerPart} {fractionPart}
    {integerPart} . {fractionPart}

Choosing the NLP

You can choose to deploy the intent to the provider of your choice by selecting the NLP in the intent Edit screen.

...