...
The initial version of the cooking assistant spits out all the recipe steps at once. This should be changed to allow the user to indicate he or she has completed the step, which at a later point should also allow the user to ask queries about a step. To make this happen, we will make a small change to the given a30recipeStep
pattern by adding a conversational step (user intent) to it. For this:
Add an intent you should may call
recipeContinuer
to Dialogflow that is able to recognize phrases such as move on to next step, continue, simply next, or other similar phrases that the user might use to indicate a step has been completed.After adding this intent to your Dialogflow agent, add the step to the
a30recipeStep
pattern in the GOAL agent code. Your agent will now wait for the user's response before it continues with the next recipe step.
...
The aim here is to design the visuals with respect to the recipe name and the instructions. The agent can thereby enrich the information communicated to the user through text and images displayed on the screen.
For now, your main focus is to display the name and an image related to the chosen three recipes, using HTML. A more detailed description of how this is done will be added soon.
Display buttons
To indicate the possible conversation directions to the user, buttons can be displayed along with every utterance of the agent.
You will need a prolog function collecting possible next user intents based on the conversation patterns.
You will need to implement the html code to display these possible intents as buttons. A more detailed set of pointers will be added to this text soon.
Example Conversation
The first version of your chatbot should be able to conduct a conversation with the user, which is like the example you can see in Figure below .
...
Testing Phase 1
Your Cooking Assistant should be able to perform the following:
...
Greeting the user
...
Terminating the conversation
...
(on terms of the conversation conducted, not what will be seen on your screen).
...
Week - 1 Deliverable
For your Week-1 submission, you need to submit a weekly progress report in .doc format (See Guidelines).
...