Using the Intent Detection Node, it is possible to upgrade a classic flow bot to match intents. Classic flow does not support a very conversational interface out of the box. In this model, the NLP service can do just intent matching on user input while flow manages the actual conversation.
We currently support the following NLP service for intent detection from within a flow:
In this tutorial we will use a flow-based bot with DialogFlow to create a bot that can detect intents and slots.
Since your bot will use DialogFlow services, you will need access to a project with intents you would like to detect.
You can then create a secret for the intent detection node to use.
For this example we will use a classic flow bot.
Bot Designer menu item
Classic Flow Bot
Hi, How are you doing?
payload.result.intent but each case will differ based on your intent names.
Deploy to save your changes.
What are your hours
When is servisbot open
What are your operating hours
Create a new intent for
who works at servisbot
Add some utterances
Who works at servisbot
who are your employees
name some of your developers
train button for your bots, then click the
Publish button, make sure you select the
production option when publishing.
Follow the standard Luis instructions for secret creation to get your App ID and secret, instructions for doing this can be found here. Creating Luis Secrets
Go to your Bot’s Designer page and edit the Intent Detection Node
Make sure “Luis” Is selected as your NLP provider
Select the secret you created earlier
Application Id into the
App Id field
Enter your Luis
Region into the
Region field, for information on where your region can be found in Luis, see Creating Luis Secrets, this section will tell you to take note of your Luis App location, this is the region.
Click done and save your node
The response from Luis takes the following format
intent detection node and wire them together.
Deploy to save your changes