...
1. Getting Started with your MARBEL Agent
Summary Description
Begin by setting up your MARBEL agent integrated with a Dialogflow agent to manage user interactions. Dialogflow will handle ASR, intent detection, and entity extraction, while MARBEL manages dialogue patterns. This foundational setup prepares the agent for future customization and functionality enhancementsThe first step is to get your conversational agent up and running. There is one ingredient that is still missing, but required before you can run the code provided to you. You need to create your own Dialogflow agent that you will use throughout the project and connect it to the MARBEL agent that manages the dialog (or conversation) between a user and your agent. When you have created this agent, you will be able to run your agent. Next, you will also be asked to put something in the agenda of the MARBEL agent to get things going. And, last but not least, you need to add code for creating an initial start screen (a simple webpage). When you have done this too, you can run your conversational agent and should see the start webpage that you created. Your agent won’t do any talking yet, though. It is just a first step.
Implementation Tasks Overview
...
Test Greeting Patterns
Test the basic greeting pattern by running the agent and initiating interaction from the Start page.
Set the agent’s name in
dialog_init.mod2g
and verify self-identification functionality.
Test User Response Variations
Provide non-greeting inputs to test the agent’s response and inspect session updates in Debug mode.
Instructions
3. Request a Random Recipe Recommendation
...
Test Recipe Recommendation
Add
a50recipeSelect
to the agenda indialog_init.mod2g
and verify the agent's ability to:Ask for recipe preferences.
Respond with a random recipe recommendation.
Test Recipe Confirmation
Ensure the agent correctly displays the recommended recipe and allows user confirmation.
Instructions
4. Select Recipes by Name
...
Test Recipe Request Handling
Add the new pattern to the agent’s agenda in
dialog_init.mod2g
after thec10
pattern.Test the interaction flow:
Agent asks for a recipe.
User requests a specific recipe.
Agent acknowledges the recipe choice and moves to the confirmation phase.
Verify Intent Recognition
Check the Dialogflow Training Tool to confirm the
recipeRequest
intent is recognized.Verify the SIC server logs show the correct intent and transcript.
Handle ASR Failures
Use the chatbox feature to avoid ASR failures and ensure the agent can handle specific recipe requests reliably.
Instructions
5. Filter Recipes by Ingredients, Cuisines and Meal Types
...