Connecting Dialogflow Agent to GOAL Agent

  • To connect the Dialogflow Agent to the GOAL Agent, after creating the agent, you have to download the service key connected to your agent. This can be done by going following the instructions here.

  • After properly doing this, you can download a .json file (see the figure below). This file should be added to your GOAL agent project folder.

 

  • In the .mas2g file, specify the name of this .json file (see figure below).

 

  • In addition to the filename, you have to specify the agent name. This name can be found in the same Google Cloud Platform as where you have generated the key-file, by clicking on the name next to the Google Cloud Platform title, and checking the `ID' column (see below). You will find that the ID is slightly different from the name that you have given to your agent.

 

The connection to the GOAL agent will have worked if the utterances of the user in the chat window are properly translated into the intents and entities that you specified in the dialog agent. Make sure to use exactly the same intent name in the GOAL agent as those ones.

Quick Links

Week 1