...
Set Up Dialogflow Agent
Create a Dialogflow agent with default settings (English as the language).
Share it with team members by assigning the Developer role.
Import the provided zip file for basic setup.
Integrate Dialogflow with MARBEL
Download the JSON key file for Dialogflow and add it to the
agent
folder in your repository.Retrieve the Dialogflow Project ID and update the
flowkey
andflowagent
parameters in the.mas2g
file.
Initialize MARBEL Agenda
Replace the empty agenda in the
dialog_init.mod2g
file with the start pattern (agenda([start])
).
Create See the Start Page
Design a basic start page inhtml.pl
using Prolog and Bootstrap, including a title, introductory text, and a “Start” button.Run and Debug the Agent
Test the integration by running the MARBEL agent and verifying state changes in Eclipse’s Debug perspective.
...
Implementation Tasks Overview
Instructions
6. Connecting Your Entire Pipeline
Connect MARBEL with Intent/Slot Classifier and WHISPER remove Dialogflow.
Instructions
[TODO]Connecting Your Entire Pipeline
...
Implementation Tasks Overview
Instructions
8. Confirm the Chosen Recipe
...
When users have finished their search for a nice recipe to cook, their choice should be displayed (which we already implemented for [TBU]Filtering by Inclusion ) and they should be asked to check the details to confirm the recipe is indeed what they would like to cook. Of course, we need to take at least two scenarios into account: (1) a user confirms they are happy with the recipe, or (2) they indicate it is after all not quite what they were looking for. If all is fine and well, the agent should close the conversation by saying farewell. Otherwise, the conversation should move back to the recipe selection stage. The following conversational pattern needs to be implemented:
...