Table of Contents | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Note |
---|
The way to connect Dialogflow has been updated Please refer to these tutorials for how to connect UChat with Dialogflow, how to connect multiple Dialogflow agentsand how to use Dialogflow for slot filling in UChat. |
...
With Dialogflow, you can pre-set some frequently asked questions, and your bot can deal with the simple queries on behalf of you and transfer the difficult. Besides, you can train your bot to understand more human language including greeting, gratitude, basic interaction, etc.
Setup Dialogflow
...
...
...
On your dialogflow dashboard, click on the gear icon and then click on your project URL,
...
Click on the top-left corner and open the options. Scroll down and click on “IAM & Admin” settings and then to “Service Accounts”
...
Click on “Create Service Account”. Follow the process below.
...
Afterwards, click on Manage Keys to create a key.
...
Click on “Add Key”
...
This will download a JSON file for you. You can then upload this directly on Uchat.
...
Click on Sync Agents once after the integration is completed.
Info |
---|
TIP If there is a prompt saying that "Google hasn't verified this app", try click "Advanced" and then click "Go to UChat Website ". Don't worry, it's safe to do so. |
Click the blue "Allow" button to allow UChat to get access to your Dialogflow account.
Visit Dialogflow Website, login to your Google account, then you will see your Dialogflow dashboard like this:
...
Click "Create Agent" on the left sidebar
name this agent
pick a default language for the bot
choose a default time zone
once finish, click "CREATE"
Note |
---|
"Google Cloud Platform service has been disabled" If you fail to create an agent with an error saying "Google Cloud Platform service has been disabled. Please contact your administrator to restore service", it is possible that because the google account is from your organisation like YourName@YourCompany.com. You can solve this problem by either contacting the administrator in your company for Google cloud platform authorization or using your own Google account instead. |
...
In the workspace of the flow,
click "Automation" on the left sidebar
activate the "default Reply"
select frequency, usually "Every Time".
click "Choose Sub Flow"
...
Select your agent and you are then able to manage your FAQs. Enter FAQ interface by clicking the "Manage Faqs" button as below:
...
Back to Dialogflow Website, you will see UChat created many FAQ intents on behalf of you:
...
choose your agent
click "Intents"
these are the intents synchronized from UChat
Test your bot here, see whether it understand which FAQ you are asking about.
Check and adjust "Default Fallback Intent" or "Default Welcome Intent" if needed. "Default Fallback Intent" is matched when none of the FAQ is matched.
...