Custom intent

Actions that your conversational app can do to answer user queries/ actions the users would like to execute. This intent can be triggered once a previous intent was created.

Explanation

Specification of a functionality

Feature: Search a lead by Location
  Only Wtm can search other leads.

  Background:
    Given a WTM search by location
    And different ways of asking the same question
    And a smarter machine learning model

  Scenario: a WTM search by location
    Given the user says: I'd like to find a Lead.
    When the search is performed
    Then we can see $Person.location is missing
    And we can prompt the question: Could you add the $Person.location

Explanation in more words:

For instance, when the Women Techmakers lead says they would like to search a lead by location, we trigger the intent search location, then we will have a location entity with a type location.

Keep in mind the more different ways you ask the questions, the smarter your machine learning model will be.

We can define parameters and make them required and prompt the user to input their user user expression.

Let's suppose we are in the search by location intent:

User says: I'd like to find a Lead.

We can see $Person.location is missing, therefore we can prompt: Whenever $Person.location is missing ask the question: Could you add the $Person.location?

Last updated