OpenDialog Patterns
  • A Pattern Library for Conversation
    • A "Read Me" for this Library
    • About this Library
  • The Pattern Library
    • Openings (Inge updated this)
      • Anatomy of an opening
      • Examples of transactional openings for text-based assistants (Inge added this WIP)
      • Additional Information
    • Authentication
      • Components
      • Example Dialog
      • Using in OpenDialog
    • Information Collection
      • Components
      • Example Dialog
      • Using in OpenDialog
      • Additional Information
    • Providing Recommendations
      • Components
      • Example Dialog
      • Using in OpenDialog
      • Additional Information
    • Extended Telling
      • Components
      • Example Dialog
      • Using in OpenDialog
      • Additional Information
    • Repair (Inge WIP)
      • Types of repair
      • User request not understood
      • Example Dialog
      • Using in OpenDialog
      • Additional Information
    • Transfer
      • Components
      • Example Dialog
      • Using in OpenDialog
      • Additional Information
    • Closing
      • Components
      • Example Dialog
      • Using in OpenDialog
      • Additional Information
Powered by GitBook
On this page
  1. The Pattern Library
  2. Providing Recommendations

Example Dialog

In a Hospitality use case, a hotel guest may want a restaurant recommendation.

Bot: I can recommend local restaurants for you. What kind of restaurant are you looking for?

User: Maybe an Italian restaurant nearby, not too expensive.

Bot: It sounds like you’re looking for an Italian restaurant, within 5 miles, that is inexpensive. Is that right?

User: Yes.

Bot: Great. One option is Bella Italia at 520 Main St., about a 5 minute walk from here. It gets good ratings and isn’t too expensive. How does that sound?

User: Seems good.

Bot: If interested, I can book a reservation for you, or call them for you.

User: Let’s make a reservation for tonight at 7pm.

In this example, the system recommends the restaurant Bella Italia to the user. Before doing so, however, the system collected the relevant user preferences to be able to make such a recommendation. This process is documented in more detail in the Collecting Information pattern section, filling slots for things like type of food, location and cost. Once those slots are filled, the system has enough information to recommend a restaurant.

In this sample, the user accepts the system’s recommendation, and the conversation moves on to making a reservation. If the user had declined the reservation, the system could make another recommendation or ask for more user preferences. This could include asking for why that recommendation wasn’t a fit, e.g. it was too expensive. With this extra information, the system can refine its recommendations.

PreviousComponentsNextUsing in OpenDialog

Last updated 3 years ago