Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.
Mark Sturdevant edited this page Jul 16, 2018 · 7 revisions

Short Name

Create an agent for rental car reservations

Short Description

Say "Hey Google" and chat with a reservation agent that you built using conversational AI.

Offering Type

AI

Introduction

Built for developers who want to access their chatbots via Google Home, a smart phone, or other devices supported by Google Assistant, this pattern shows how to create a Google Action and a Node.js server to make your Watson Assistant dialogs available when you say "Hey Google...".

Author

By Mark Sturdevant and Vincent Perrin

Code

Demo

  • N/A

Video

  • TODO

Overview

This Code Pattern includes a Watson Assistant workspace to demonstrate an implementation of a retail agent that can ask for reservation schedules and specifics. To demonstrate how to test it with Google Assistant devices, we will setup a Google Action that calls out to our Node.js server which interacts with Watson Assistant.

When the reader has completed this Code Pattern, they will understand how to:

  • Create a Google Assistant Action that calls out to an HTTPS endpoint
  • Launch a Node.js server that can interact with the Google Assistant requests and send responses from Watson Assistant
  • Use Watson Assistant to create a retail agent that can have a conversation to gather the information needed to make a reservation

Flow

  1. User talks or types to Google Assistant.
  2. Google Assistant posts text to an HTTPS endpoint.
  3. Node.js server calls Watson Assistant to get the response.
  4. The response is returned to Google Assistant.
  5. Google Assistant replies to the user.

Included components

  • Google Home: Powered by the Google Assistant, with Google Home you have command of your music, your home, and your curiosity. Start by saying, for example “Ok Google" or "Hey Google” in English.
  • Watson Assistant: Create a chatbot with a program that conducts a conversation via auditory or textual methods.
  • Redis: An open-source, in-memory data structure store, used as a database, cache and message broker.

Featured technologies

  • Databases: Repository for storing and managing collections of data.
  • Node.js: An open-source JavaScript run-time environment for executing server-side JavaScript code.

Blog

Blog Title

Blog Author

Blog Content

Links

Clone this wiki locally