Getting Started

Environmental Setup

To work on the project assignment, you will need to have installed / set-up the following components:

  1. The GOAL plug-in for Eclipse. We assume that you have already installed Eclipse and this plug-in, otherwise please follow instructions here. Be sure to create a new project whilst using the latest version of the Eclipse plug-in (Help → Check for Updates).

  2. The Social Interaction Cloud (SIC) framework. For this, you can follow the instructions here.
    Provides bot software for voice interaction and browser software for displaying the a webpage for visual support. Has been confirmed to work only with Google Chrome (can be downloaded here).

  3. A cooking assistant designed using Dialogflow. For this, you can follow the instructions here.

Launching a Bot

We assume here that you have installed the SIC framework and know how to navigate to a folder in a terminal, and in addition to have created a Dialogflow agent and downloaded its .json keyfile (see here for an explanation). To launch the chatbot provided to you, do the following:

  • Open a command terminal and navigate to the folder where you cloned the docker project

  • Enter docker-compose up dialogflow webserver and hit enter.

  • Open a second terminal and navigate to the subfolder cbsr-local in the docker folder.

  • Enter java -jar computer-browser.jar and hit enter. This will lead to a new browser window. Press ‘Ok’ without filling in a password.

  • Launch Eclipse and import the GOAL dialog manager project (including the .json keyfile of your Dialogflow agent).

  • In the .mas2g file, specify as flowkey the name of the .json keyfile, and as flowagent the agent ID (click here to see more details).

  • Run the .mas2g file.

  • Check the boxes ending with ‘browser' and 'robot’ in the subsequently appearing window, and press 'OK'.

  • You should now see a window rendering the browser plug-in and hear the bot start talking. The rest now is up to you!