The following tutorial will guide you through setting up a LivePerson conversational AI and connecting it to your Botium Box.
Botium will connect to the LivePerson Conversational AI via the Connector API messaging channel. Click here for more information on the LivePerson Connector API https://developers.liveperson.com/connector-api-overview.html
Deploying a LivePerson Bot
Read the article below on how to first setup and deploy your LivePerson bot so it can be connected to your Botium Box.https://developers.liveperson.com/tutorials-guides-getting-started-with-bot-building-overview.html
Connecting the LivePerson Bot to Botium Box-
Login to your Botium Box instance and register a new liveperson chatbot.
-
Click on Chatbots in the left menu and register a new Chatbot with the + Icon.
-
Select LivePerson in the Connector/Chatbot Technology dropdown menu
-
Select an API key (we recommend using the Default API Key available) and copy the generated webhook url form Live Person Webhook Endpoint field using the copy button.
-
In a new browser tab, log in to your LivePerson Connector App Hub here:https://connector-api.dev.liveperson.net/ and create a new app, and paste the copied webhook url into the webhooks endpoint field.
LivePerson will generate a Application ID & Secret key which will be required in Botium Box.
-
Fill the rest of the fields in Botium Box:
-
Client ID: Copy it fromhttps://connector-api.dev.liveperson.net/ from your created application (
Application Name & id column)
-
Client Secret: Copy it fromhttps://connector-api.dev.liveperson.net/ from your created application (Secret column)
-
Campaign ID and Engagement ID: Navigate to liveperson cloud and open the engagement you have created in the 1. point. From the url you can get back the Campaign ID and the Engagement ID
-
External Consumer ID: Filling this with a random identifier you will get a dedicated consumer ID on liveperson side, this way you will be able to see the history of conversations to the same consumer.
-
User profile: Here you can define the detailed personal information of the consumer and SDEs
-
-
Finish the registration and start a new live chat, from here you should be able to connect to your bot and communicate with it.
Running Static Training Data Analytics:
To allow Botium to automatically generate a test set of intent data from LivePerson, follow the steps below.
-
Export the Training Data from LivePerson by clicking on the Conversational AI button in the left hand sidebar.
-
Highlight the bot that you wish to export data for and click the “Domain Settings” button in the available dropdown menu.
-
Scroll down to the “Import/Export” menu and click the “Export All Data” button, this will download a .zip file which contains a “*_Intents.csv file.
-
Unpack the .zip and login to your botium box.
-
Select the “Test Sets” menu in the left hand sidebar and expand the “Create new test set” option.
-
Drag and drop the .csv file downloaded earlier into the drop zone.
-
Botium will automatically create a new Test Set
-
Once the Test Set is generated, click on the insights tab and click the “Update Insights with Latest Test Data” button
Running Static Training Data Analytics
Running Static Training Data Analytics:
-
Export the training data from LivePerson by clicking the Domain Settings button next to the conversational AI you want to collect data from.
- In the IMPORT/EXPORT section clikc the Export all Data button to
download a Intents.csv file.
-
in Botium Box go to Test Sets, Expand the create New Test Set dropdown > drag and drop the *_Intents.csv file on the drop zone
-
Botium will autogenerate the test set
-
Open the generated Test Set once complete, go to insights tab and click on “Update Insights” button
Comments
0 comments
Please sign in to leave a comment.