Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
outlinefalse
typelist
printablefalse

Prolog and Patterns

We will begin with implementing a pattern for allowing a user to express they are done, and then get back to what is still missing to implement requests to remove a filter.

...

  • Use a response text similar to "Here are some recipes that fit your requirements.".

  • Use the recipesFiltered/1 predicate to get the filtered list, and check that the length is less than 16 but more than 0, or (use a semicolon ; which represents a logical OR) check that the memory key-value pair ‘show', 'true' is stored in the agent’s conversational memory.

  • Note the terms used here can be used to condition the recipe overview pages in your javascript and html.

This completes the implementation of all the different cases for the agent’s response. The patterns for removing filters should now work!

Visuals

What you do visually for this capability is up to you. Think about the fact that users could end up going from Recipe Overview 2 page to Recipe Overview 1.

...