LogoLogo
  • Dhee.AI
  • Concepts We Work on
    • What is NLP?
    • Natural Language Parser Pipeline
    • Word Embeddings
    • Textual Entailment
    • User Intent Recognition
    • Document Reading
  • Getting Started
    • Train your bot
      • Create your bot project
      • Train for Intent recognition
        • Define the Slots
        • Train the Triggers
        • Train for Stop-Triggers
      • Configure Agent Responses
      • Write your REST Endpoints
      • Configure Endpoints
      • Configure Workflow
        • Read Inputs
        • No Code Approach
        • REST Endpoints Approach
        • Acknowledge User
    • Build and Deploy
      • Build
      • Test
      • Deploy
        • Embedding Widget in Apps
  • Platform Reference
    • Manage Projects
    • Agent Settings
      • Basic
        • Language
        • Domain
        • Voice
        • Avatar Settings
      • Widget
        • Widget Theme
        • Widget Label
      • Advanced
      • Team
        • Development Team
        • Support Team
      • Import Export
      • Emailer
      • Billing
      • Botstore
    • Knowledge Management
      • Document Reading
      • Frequently Asked Questions
    • Intents and Automation
      • Intents
        • Slots
        • Triggers
        • Stop Triggers
        • Special Intents
      • Skills/DSM
        • Dialog Actions
        • Dialog State Transition
          • Slot State
        • Dialog Workflow
        • Skill API
      • Backend API
    • Extended Message Types
    • Entities And Other Data
      • Entities
        • Multilingual Entities
        • Language Specific Entities
        • Custom Entity Types
      • Agent Responses
        • Multilingual Responses
        • Missed Query Responses
        • Support-Unavailable Responses
      • Directive Utterances
        • Customize Inputs
        • Customize Outputs
      • Translations
      • Query Substitutions
      • Abbreviation Texts
    • Test & Deploy
      • Build
      • Test
      • Deploy
        • Launchpad
        • Widget
        • Signal
        • Telegram
        • Google RCS
        • Facebook
        • Alexa
        • Whatsapp
        • Custom App
        • Voice
        • Telephony
        • Email
    • Reports
      • Statistics
        • Summary
        • Daily Reports
          • Conversation Analytics
        • Weekly Reports
        • Monthly Reports
        • Output Spreadsheet
      • Conversations
        • Conversation Logs
        • C-SAT
      • Generate Report
        • Lead Report
        • Category Report
        • Device Demography Report
        • Utterance Report
        • Missed Query Report
        • Location Report
      • Report Settings
        • KPI
        • Schedule Report
      • Personnel Audit
        • Development Team
        • Support Team
          • Supervisory Sessions
          • Login Information
      • Bot Store
        • Reviews
        • Reported Issues
  • The Social Desk
    • Whatsapp
      • Customer Chat
      • Manage Template
      • Outreach Campaign
        • Create new
        • Manage Campaign
    • Reports
    • Settings
      • Team
      • Whatsapp
  • Extras
    • External Links
  • News
    • Dhee.AI's Edge Server for Telephony Achieves Breakthrough Optimization on Intel Architecture
  • Dhee.AI Telephony Edge Servers: Elevating Conversational AI Experience with Edge Computing
  • Pinnacle Teleservices Joins Forces with DheeYantra to Supercharge Conversational AI on WhatsApp
Powered by GitBook
On this page
  • Define Slots
  • Templates
  • Prompts
  1. Platform Reference
  2. Intents and Automation
  3. Intents

Slots

PreviousIntentsNextTriggers

Last updated 3 years ago

Slots describe the input and output fields associated with the intents, which are used for processing the intent. These might also include the inputs for the Web API requests, if any, associated with the intent. You can define the Slots by using the slot button under the Action column.

Define Slots

Slots UI displays all the available (created) slots. You can create a new slot using the `+` button on the top right corner. Each slot are characterized by

  • Name

  • Display Name

  • Slot Type

  • Custom Entity Type

  • Allow Multiple

  • Delay Template

  • Only English

  • Last Option

  • Sensitive

  • Actions

Name is a unique identifier of the type string to identify the slot. The slot can also have a display name. Slots Type defines the data type of the slot.

Available data types include

  • INTEGER

  • DATE

  • TIME

  • NAME

  • ARTEFACT

  • LOCATION

  • BOOLEAN

  • CODE

  • PAST_DATE

  • FUTURE_DATE

  • ADDRESS

  • RELATIONSHIP

  • PASS_THROUGH

  • PHONE_NUMBER

  • EMAIL_ID

  • NUM_PLATE

  • EVENTS

  • SYSTEM FILLED

  • QUERY_PHRASE

In addition to the in-build types, Dhee.AI also supports custom types. If the developer needs to select a Custom Type, the _Slot Type_ needs to be set to _Custom_ and _Custom Entity Type_ needs to be set the user-defined custom entity type

The rest of the configuration options include

Flag
Description

Allow Multiple

If true indicates a list of values

Delay Template

if true Entity based slot extraction has priority over template based extraction of slots

Only English

If true, prioritize English values over the language of conversation. Useful for handling names

Last Option

If a conflict exists for the candidate for a slot, prefer capturing other slots before capturing the current one

Sensitive

Mask the slot value before storing in conversation logs

Templates

In natural language, users often provide multiple information in a single sentence, especially in commonly used phrases. Consider the following examples

// Captures email id and phone number
You can contact me on a*****.gmail.com or 98******

// Captures Start and End Date of leaves
I would like to take a vacation from 24th till 29th of this month

Templates allow multiple slots to be captured together from User utterances. In the above examples, multiple slots can be captured from the slot from single sentences. To define a template, select the `Template` button under the _Action_.

Templates allow multiple slots to be captured together from User utterances. In the above examples, multiple slots can be captured from the slot from single sentences. In order to define a template, select the Template button under the Action.

Templates are defined by using the $slotName syntax for capturing slots. For example, assuming we have startDate and endDate as our slot names, a template in a leave management application might look like

leaves from ${startDate} to ${endDate}

The Templates can be instructed to support multilingual functionality if the bot was designed to the multilingual. You can enable the functionality by using the Auto-translate flag.

We can use the Templates to read multiple inputs together from user utterances. For example, for the startDate, we can define the template as "leaves from ${startDate} to ${endDate}". This would ensure the startDate and endDate are filled when the user utterance is similar to any of the following.

Prompts

In addition, you can also define Prompts for each of the slots if the User fails to provide the required inputs. These are the messages which the chatbot would ask the user when there is missing information. For example, for the startDate the prompt could be defined as

From when are you planning to go on leave?

Dhee.AI also allows configuring slots using prompts that show predefined values. For example, We could prompt the user for specifying the reason for leave application using predefined custom values. For example,

OK. Why do you want the leave ? [[EXT:BUTTON|Medical|Casual]]

This would show a prompt including the possible reasons for leave as shown in the image below.

Use Slot Button in Intents and Automation
Slots
Predefined values in Prompt