Choose the power of Google Dialogflow for your conversational assistant JBot !
The Dialogflow plugin is a provider plugin for the plugin JBot.
When to use this plugin?
Would you like to set up a chatbot on your Digital Workplace with JBot? The Dialogflow plugin allows you to choose Google's Dialogflow conversational agent to motorize JBot.
What does it do?
The Dialogflow plugin is a provider plugin for the JBot plugin.
The advantages of this provider :
- the power of machine learning developed by Google
- a cloud solution that is quick to implement
- the intuitive conversational agent training interface
support for 14+ languages (including : French, English, German, Dutch, Italian, Portuguese, Spanish, Russian, Ukrainian, Japanese, Korean, Chinese)
To find out more:
Add the DialogflowJBotProvider plugin through the plugin manager and restart JPlatform.
JBot - Dialogflow Configuration
Creating a Google Account:
Dialogflow requires a Google Account to sign in. If you don't have a Google Account, you can get one here .
Dialogflow account creation:
Now that you are logged into your Google account, you can log into Dialogflow by following these steps:
- Go to the Dialogflow login page https://dialogflow.cloud.google.com/#/login
- Click the Google sign-in button .
- Enter your Google credentials
- Allow Dialogflow to access your Google account. Dialogflow uses the following permissions:
View and manage your data in Google Cloud Platform services.
View and manage your actions on Google.
View and manage Google Assistant voice commands, dialog, and grammar.
Send log data about your projects.
- Finally, you will be redirected to the conditions of use of Dialogflow, which you must accept in order to use Dialogflow.
Import of the Dialogflow agent provided by Jalios:
Create a Dialogflow agent:
- Open a browser and log in to Dialogflow.
- Click on Create Agent in the left menu.
- Enter your agent's name, default language and default time zone, then click the Create button.
Import the Jalios agent:
The agents can be exported, imported and restored in the Dialogflow console. Import, export and restore must be used to back up agents or transfer them from one account to another.
To import the Jalios agent, follow these steps:
- Click the settings icon next to the agent name in the left menu.
- Click the Export and Import tab.
- Click on IMPORT FROM ZIP
- Browse to the ZIP file to import and open the corresponding to the JBot Jalios agent.
- Type "IMPORT" in the text field to confirm.
- Click on IMPORT.
Authentication from JPlatform:
Generating the JSON key
It will allow interaction between Dialogflow and JPlatform.
- Log in to Google Cloud Platform , with the google account used to access Dialogflow.
- Click on the Console tab
- Select the Dialogflow project
- Also in the console, on the sidebar on the left, go to IAM and administration> Service accounts .
- In the Service accounts section for the "JBot" project, create a service account and assign to this account the role "Dialogflow API Administrator".
- In the Service accounts section for the "JBot" project, choose the newly created service account and create a JSON type key.
Using the JSON key from JPlatform
Prerequisites - Activate the JBot and DialogflowJBotProvider plugins .
In the properties of the DialogflowJBotProvider plugin, enter the JSON file generated from the service account.
In the properties of the JBot plugin, enter the supplier DialogflowJBotProvider at the level of the "List of providers" property.
Test the interaction between Dialogflow and JPlatform by accessing the JBot application.
JPlatform 10 Documentation Links