ixHello
ixHello Customer
ixHello Customer
  • About ixHello
  • General
    • ixHello: Create Account
    • ixHello: Basic Mode
      • Webchat Assistant
        • Direct Chat Link
        • Embedded Chat Assistant
      • Digital Assistant
        • Digital Avatar
        • Kiosk Mode
      • Call/SMS Assistant
      • Administrative Purpose
    • ixHello : Studio Mode
      • Prerequisites
      • Steps
        • App Creation
        • Data Source Configuration
        • AI Content Setup
        • Method Setup
        • Intent Setup
        • Slot Setup
        • Utterance Setup
        • Input Setup
        • Input Parameter Setup
        • Publish Setup
        • Test
        • Enable Call /SMS
    • Enterprise Connections
      • Generative AI
      • Internal Content
      • Microsoft Office 365
    • AI Contents
      • Add AI Content
    • Use cases
      • Contact Finder with Salesforce
        • Pre-requisites
          • An active salesforce account
          • Lex Developer Account
          • Integrate Salesforce with ixHello
        • Build Custom App
      • Contact Finder with REST API
        • Pre-requisites
          • Integrate API Service with ixHello
          • Lex Developer Account
        • Build Custom App
  • Apps
    • App Templates
    • NLP Custom App
    • Custom App Series - Step 1 - Building a Custom App
    • Custom App Series - Step 2 - Creating a Connection
    • Custom App Series - Step 3 - Publishing to a Channel
    • Lex Auto Publishing Setup
    • Office 365 SharePoint - Custom App
    • Office365 Exchange - Custom App
    • SalesForce Custom App
    • App Template Export & Import
    • IntentFeature BeforeAfterMethod
    • ixHello Supported Periods DateRange
    • Shared App
    • ExecuteJS
  • Connections
    • Amazon Web Services
      • Amazon Kendra
      • Amazon Lambda
        • Amazon Lambda: Create Lambda Function
          • Amazon Lambda: ixHello Integration
      • DynamoDB
    • Login with Amazon Setup
    • SalesForce
      • SalesForce: Create an account
      • SalesForce: Connect to ixHello
    • Microsoft Office365 Integration Guide
    • Microsoft Office365 AAD
    • MS SQL Server
    • Twilio
  • Blueprints
    • Create App Using App Blueprints
    • Lex Bot using Appointment Blueprint
    • Domain App using Internal Data
    • Domain App S3 Data Source Setup
  • Channels
    • Amazon Alexa
      • Create Amazon Developer Account
      • Registering Alexa User Account
      • Alexa Account Linking to ixHello
    • Amazon Lex
    • Amazon Lex Integration
    • Amazon Connect and Lex Bot Integration
  • JSON Methods
    • Internal Data JSON Methods
  • Solutions
  • AWS IAM users
  • Finding AWS Region
Powered by GitBook
On this page

Was this helpful?

  1. General
  2. ixHello : Studio Mode
  3. Steps

Method Setup

PreviousAI Content SetupNextIntent Setup

Last updated 2 months ago

Was this helpful?

Our next step would be to set up methods. Methods detail how the app is going to handle user requests.

Depending upon the type of data source, e.g. Gen AI, Twilio, internal content, etc., different operations can be carried out.

For instance, with a Twilio data source, the user might be able to make calls, send SMS, etc., but with a Gen AI data source, the user might be able to get responses to queries in chat.

Such different operations are termed 'Request Types'.

For now, let's construct methods for our 3 different data sources from the previous step.

Method: Generative AI

  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

With this, you've now set up for the Gen AI chat responses.

You might also want to provide more specific information about your business. So, for that purpose let's use the content that you created in the prerequisite session and create a method that reads from that content.

GetBusinessInfo Method

Change the data source to Internal Content in the dropdown and click on Add new Method.

Add following details to create a method.

Tab
Parameter
Value

Method Inputs

Method Name

GetBusinessInfo

Request Type

GetJSONContents

Parameters: ContentID

The name of the content that contains your business name

e.g. DemoContent

Method Output

Result Type

ListOfRecords

Record Limit

10

Method Result

Record JsonPath

$.[*]

Valid Result Template

{{Records}}

Record Template

{{Session.StoreDescription}}

Session Attributes

SessionAttributes

Name : StoreDescription, Value: {{Results.StoreDescription}}

SessionAttributes

Name : PhoneNumber, Value: {{Results.PhoneNumber}}

SessionAttributes

PName : Email, Value: {{Results.Email}}

In order to get the value for {{Results.StoreDescription}}, {{Results.PhoneNumber}}, and {{Results.Email}}, you need to define them as Managed Results. You can find the StoreDescription, PhoneNumber, Email etc on the JSON Content file you uploaded in the prerequisite section.

To add Managed Results, once the method is created, click on the Action button and Select 'Manage Results'

Enter the following details. By doing this, you are reading the info from the content file into these variables for use in the method.