Generative AI Assistant
Last updated
Last updated
The purpose of this document is to describe how to create a generative AI app in the studio mode in ixHello. After going through this document, you should be able to create a generative AI app for web chat and phone/text.
You need to have an ixHello account for this. Here is the guide on how to create an account if you don’t already have one.
You need to be subscribed to at least a premium plan or above to use studio mode. You won’t be able to use Studio mode if you have a basic subscription. For creating apps in basic mode, go here.
Login to ixHello and navigate to "Apps" and "Custom Apps".
Click on New Custom App
Enter the app details as shown below. Make sure the (this is a Generative AI app) checkbox is ticked
Click Save and the app will appear on the custom app list. Click on the app name.
Once you click on the app name, it will take you to the Data Source tab. Click on “Create New Data Source”
Give the data source a name and select from one of the available Generative AI data sources in the dropdown as shown below. Click “Save”.
Create another data source of type internal content as shown below
Finally, create one more data source of type Twilio as shown below
All the data sources should be listed as shown below
Goto “AI Content” tab and click on “Add New AI Content”
Enter the training URL and click “Save” as shown below. The URL should be the one where the app needs to train the data from.
After adding the content, you can preview it as shown below. You can create as much AI content as necessary to train the app.
Go to the “Methods” tab, select “Generative AI” Data Source, and click “Add New Method” as shown below.
For the “Methods Input” tab, select the Request type and subsequent details as shown below.
For the “Method Output” tab, use the details as shown below:
For “Method Result” tab, enter the details as shown below:
Goto “Intents” tab and click “Create New Intent”
Create an intent by using details as shown below
For more information related to before and after method feature see here.
Goto “Slots” tab, Select “ChatIntent” from the dropdown, and click “Create New Slot”:
Enter the details as shown below and click “Save”
Goto “Utterances” tab, select “ChatIntent” and click on “Create New Utterance” as shown below:
Enter the Utterance details and click “Save” as shown below:
Navigate to the “Input” tab and click “Create New Input” as shown below:
Enter the details as shown below and click “Save”:
Now you need to add input parameters to do that, Goto Input list where you will find the "Manage Parameters" button on the created inputs.
Click "Manage Parameters" will navigate to a different page from where you can add input parameters. Now click the "Input Parameter" button shown below.
Fill out the add input parameter form as shown below, and click the "Save" button.
Now finally navigate to the "Publish" tab as shown below.
Click the "Add App Publishing" button, this will pop up a modal with a form as shown below.
Fill up all the required values in the form, and importantly, select the channel as "Generative AI", and click the "Save" button. This will create a new publishing profile with the provided information for an app.
Enable Call/ SMS Assistant
You can make this assistant respond over a phone call/ SMS with a small change in the settings. Similar to the Basic Mode, the Gen AI assistant provides call/ SMS support over Twilio. On the App Publishing, you can see a flag for 'Enable Twilio Bot to use this App Publishing'.
Turn on the 'Enable Bot to use this App Publishing' toggle button.
You'll be prompted to set up basic Twilio setups.
a. Select Country (available options US / Canada)
b. Select Scheme (Local or Toll-Free). For the Toll-Free number, you've to make additional setups in Twilio account.
c. Twilio Phone Number: The list provides available Twilio Phone numbers from which you can choose any that you prefer. Once you select and save, the particular number will be occupied by this assistant and will only be freed again once you disable Twilio Bot for this app.
d. Voice Gender: You can also configure the voice gender that will respond to calls on this number. For example, in areas where a female representative is conventionally expected, you can set the voice Gender to female and vice versa.
e. Voice Profile: You can also select a voice profile that you feel like matches the personality of the assistant.
f. To check if you like the Voice of the assistant, you can click on the Play button that will play the sample text in the Voice Gender and Voice Profile you just selected.
Now, click on Save and your assistant will now readily respond to calls and SMS from your customers.
In order to disassociate the number from this assistant, you can select the option 'Dissociate this current number' on the Twilio Phone Number drop-down and click on Save.