Customize your POC: This guide walks through building a working example of the Conversation Assist capabilities within 30 minutes. The provided examples and starter resources are intentionally simple to move through the process quickly. Keep an eye out for "Customize your POC" sections like this one for indications as to where you can further develop and customize your implementation of a Conversation Assist proof-of-concept to fit your specific needs.
This section walks through the steps that are necessary to complete before configuring Conversation Assist. These steps include the creation of the following:
- Airline domain
- Airline-specific knowledge base to serve FAQ articles tied to intents in the NLU domain
- User profiles and associated skills to be tied to both human and bot agents
- Several bots in Conversation Builder with dialogs triggered by intents from the starter pack domain
- Web messaging engagement directed to the signed-in “human” skill
Before you begin
Before you get started with this tutorial, download this ZIP file, which contains a few, necessary resources.
Step 1: Create the Airline NLU domain
LivePerson offers a variety of domain-specific starter packs (prebuilt domains) to help you get up and running with Intent Manager quickly. After signing into the LivePerson Conversational Cloud, navigate to the Conversational AI portal and complete the following steps to build out the NLU domain that will be used in the Conversation Assist solution.
Customize your POC: For demonstration purposes, this guide assumes a build-out suited for an Airline client. Add in a vertical-specific, pre-built domain to customize for your use case, or optionally add additional domains to supplement the primary one you are using. Conversation Assist can pull from multiple domain intents to offer recommendations to agents.
-
From the Conversational AI dashboard of applications, click Intent Manager.
- In the Domain list panel, click Add a domain.
- In the resulting Add Domain dialog, select “Prebuilt domains” along the top.
-
The following view will display all prebuilt domains that are available with Conversational Cloud. Highlight the “Airline” domain, and click Add.
Once completed, the LP_Airlines domain is created, fully trained and containing intents for use with any airline.
Step 2: Create the Airline FAQ knowledge base
With the NLU domain created, the next step is to create a knowledge base with articles to be tied to domain intents. For the purpose of this demonstration, a CSV file has been provided to simplify the process. You downloaded this file earlier.
Customize your POC: This example uses a single knowledge base in order to quickly showcase the capabilities of recommending articles using Conversation Assist. Adding additional knowledge bases to showcase that Conversation Assist can pull from multiple data sources can help to create a more substantial and impressive demonstration with your proof-of-concept. Each additional knowledge base can pull from any domain you previously created to showcase their functionality.
-
Return to the Conversational AI dashboard of applications, and click KnowledgeAI.
- Click Add knowledge base in the upper-right corner.
- In the resulting Add knowledge base dialog, select “Internal Knowledge Base” from within the AI Enabled menu.
-
Complete the Add knowledge base form with the following information:
- Knowledge Base Name: Airline FAQ
-
Import articles from: CSV
- Use the CSV file that is in the ZIP file that you downloaded earlier.
- Domain: LP_Airlines
- Language: English
-
Click Save to upload your knowledge base articles, with intents from the LP_Airlines domain automatically associated with each article.
Note: Intents will be automatically associated as long as you have already created the NLU model in the previous section. If you have not done so, you can make your intent associations after by aligning the intents with the correct article.
Article Title Intent Seating assignment ask about seat assignment Refund policy request refund or credit Claim reward miles claim reward miles Baggage policies ask about baggage Upgrade my seat upgrade seat Cancel flight cancel flight Change flight change flight Reschedule disrupted flight reschedule disrupted flight Book a flight book flight
Step 3: Create the users and skills
Every bot and human agent requires a user profile to be deployed and accessible from within the Conversational Cloud. This section provides the details needed to update the logged-in human agent with an associated skill, as well as the details needed to create bot agents for the two bots that will be uploaded. For more details on this procedure, please see this article in the Conversation Builder Getting Started with Bot Building tutorial.
Customize your POC: This guide provides two bots that Conversation Assist can source recommendations from. These demonstration bots do not provide much functionality out of the box, so bring in your own domain-specific bots to fit the needs of your POC. Keep in mind that any additional bots created will need their own corresponding bot user agents and skills.
- Click the Manage users and skills icon
from the left-side menu to go to the User Management section of the Conversational Cloud.
-
From the list of users, select your logged-in human user. From the Edit user form, scroll to the bottom. In the Skills field, add the skill “Agent.” Click Save.
-
Back on the Users screen, select the + Add user button in the lower-left corner of the page. Fill out the Add user form with the following user details:
- User type: Bot
- Login name: Booking Bot
- Email: Your email address
- Nickname: Booking Bot
- Name: Booking Bot
- Choose login method: API key
- API key: Generate API key
- Assignment → Assign Profile: Agent
Click Save.
-
Repeat the same process to create a second bot user with the following details:
- User type: Bot
- Login name: Seating Bot
- Email: Your email address
- Nickname: Seating Bot
- Name: Seating Bot
- Choose login method: API key
- API key: Generate API key
- Assignment → Assign Profile: Agent
Step 4: Import the Conversation Builder bots
In this step, you create two, new bots in Conversation Builder using the JSON files that are in the ZIP file that you downloaded earlier:
- Booking Bot
- Seating Bot
These bots have been created with dialog starters matched to several of the LP_Airlines intents, and they will be used to recommend actions to agents engaged in conversations with users.
-
Return to the Conversational AI dashboard of applications, and click Conversation Builder.
-
Click Import Bot in the upper-right corner, and select the "Booking Bot" JSON file that you downloaded. Click Open.
Note: If you have completed the previous step of creating the LivePerson domain, the intents will be automatically associated with the correct dialogs in the bots. However, if you have not yet done so, you will need to connect them manually to the appropriate dialog starters using Conversation Builder's Assist tool.
- Once uploaded, click the Agent Connectors menu option at the top of Conversation Builder.
- Click Add Agent Connector, and in the resulting form, select your "Booking Bot" user agent from the Agent User ID dropdown. Ensure that the Conversation Type is set to "Messaging," and click Save.
-
Click the orange > Start button to start the agent connector.
-
Follow the same process to upload the "Seating Bot" that you downloaded, and connect the Seating Bot user agent. Once finished, you will have two bots up and running with agent connectors.
Note: These bots are for demonstration purposes, so they don't do much beyond serving a dialog to a user based on the intent. No booking or seating functionality is built in. As such, they can be modified to meet your use case.
What's next?
Continue on to the next step in the tutorial.