Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

Patterns are a simplified representation of how you think a certain conversation will go, a conversation pattern. The Conversation patterns represent parts of the flow or sequential order of a conversation. In our agent, such patterns are encoded with a the Prolog predicate ‘pattern pattern/1: pattern([Insert Pattern Here])’. Agent Pattern) where Pattern is a list that consists of two elements: the name of the pattern as first element, and another list that represents a sequence of dialogue moves (intents). Some of these dialogue moves are performed by a user (and the corresponding intents should be available in the Dialogflow agent). The other dialogue moves are performed by your agent. Dialogue moves of an agent are also intents, but are specified in the MARBEL agent code, not in the Dialogflow agent. With agent dialogue moves, text what the agent will actually say should be provided. These agent responses are encoded using the predicate ‘text text/2: text(ResponseName, “Response Text”)’. IntentName, "Response Text").

Since your agent is supposed to be specialized in conducting conversations aimed at cookin recipe selection, there is a limited number recommendation, you should define a specific set of conversation patterns it could encounter. Nonetheless, an important thing to remember is that a conversation could go multiple ways and you need to account for all of those in different versions of your patterns. that such an agent can expect to happen in a conversation in which it assists a user with selecting a recipe. But even such conversations may have many variants and it is important to remember that such conversations can be conducted in many different ways. It is your job to account for as many of those variants as possible by means of the patterns that you create.

We shall walk you through the first pattern patterns and responses. There are sections specified You should mainly work in the patterns.pl and responses.pl files, where you should place your (new) patterns and responses. 

For this section, you will have to collaborate closely with your Dialogflow and Filter Functions Section team members. Patterns are made up This is the case because, as explained above, patterns consist of agent responses and user intents. These user User intents are defined by in the Dialogflow Intents agent that your team members created. Your naming conventions must match. It is important that the labels that you use (your naming conventions) are the same! If you do not know what an intent is, it may be helpful to look into inspect the Dialogflow Intentmaterial and the agent itself. You could may also have to look for information in find it useful to inspect the recipe database.

c10 Greeting Patterns

...