Generative AI Assistant

Objective

The purpose of this document is to describe how to create a generative AI app in the studio mode in VoiceWorx. After going through this document, you should be able to create a generative AI app for web chat and phone/text.

Pre-requisites

  1. You need to have a VoiceWorx account for this. Here's the guide to create an account if you don’t already have one.

  2. 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.

Steps

App Creation

  1. Login to VoiceWorx and navigate to "Apps" and "Custom Apps".

  1. Click on New Custom App

  1. Enter the app details as shown below. Make sure the (this is a Generative AI app) checkbox is ticked

  1. Click Save and the app will appear on the custom app list. Click on the app name.

Data Source Configuration

  1. Once you click on the app name, it will take you to Data Source tab. Click on “Create New Data Source”

  1. 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”.

  1. Create another data source of type internal content as shown below

  1. Finally, create one more data source of type twilio as shown below

  1. All the data sources should be listed as shown below

AI Content Setup

  1. Goto “AI Content” tab and click on “Add New AI Content”

  1. 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.

  1. After adding the content, you can preview it as shown below. You can create as much AI content as necessary to train the app.

Method Setup

  1. Go to “Methods” tab, select “Generative AI” Data Source and click “Add New Method” as shown below.

  1. For “Methods Input” tab, select the Request type and subsequent details as shown below.

  1. For “Method Output” tab, use the details as shown below

  1. For “Method Result” tab, enter the details as shown below

Intent Setup

  1. Goto “Intents” tab and click “Create New Intent”

  1. Create an intent by using details as shown below

For more information related to before and after method feature see here.

Slot Setup

  1. Goto “Slots” tab, Select “ChatIntent” from the dropdown and click “Create New Slot”

  1. Enter the details as shown below and click “Save”

Utterance Setup

  1. Goto “Utterances” tab select “ChatIntent” as click on “Create New Utterance” as shown below

  1. Enter the Utterance details and click “Save” as shown below

Input Setup

  1. Navigate to “Input” tab and click “Create New Input” as shown below

  1. Enter the details as shown below and click “Save”

Input Parameter Setup

  1. Now you need to add input parameters to do that, Goto Input list where you will find "Manage Parameters" button on the created inputs.

  1. Click "Manage Parameters" this will navigate to different page from where you can add input parameters. Now click "Input Parameter" button show below.

  1. Fill the add input parameter form as show below, and click "Save" button.

App Publishing

  1. Now finally navigate to "Publish" tab as shown below.

  1. Click "Add App Publishing" button, this will popup a modal with a form as show below.

Fill up all the required values in the form, and importantly, select channel as "Generative AI", and click "Save" button. This will create a new publishing profile with the provided information for an app.

Last updated