-
Notifications
You must be signed in to change notification settings - Fork 52
Home
Create an agent for rental car reservations
Say "Hey Google" and chat with a reservation agent that you built using conversational AI.
AI
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...".
By Mark Sturdevant and Vincent Perrin
- N/A
- TODO
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
- User talks or types to Google Assistant.
- Google Assistant posts text to an HTTPS endpoint.
- Node.js server calls Watson Assistant to get the response.
- The response is returned to Google Assistant.
- Google Assistant replies to the user.
- 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.