Open AI
Follow the steps below to setup the Open AI Integration to your Open AI instance.
Prerequisites
An ix Hello Account
For steps to create an ix Hello account, use the following steps:
https://docs.ixhello.com/ixhc/general/ixhello-create-account
An app in the ix Hello account
One app in ix Hello should be created and at least one Utterance as well.
3. An Open AI Key to be generated
Please refer to https://platform.openai.com/settings/organization/api-keys for OpenAI key
Step-by-Step to Create OpenAI API Key
Go to OpenAI Platform Open this link in your browser: https://platform.openai.com/account/api-keys
Sign in Use your OpenAI account to log in. If you don’t have one, sign up.
Navigate to API Keys Page After signing in, go directly to: https://platform.openai.com/account/api-keys
Click "Create new secret key"
A pop up window appears showing your new secret key.
Copy it immediately — it will not be shown again.
Store it safely Save the key in a secure location.
Creating a Custom App in ix Hello
On the left navigation menu, expand Apps and select Custom Apps. Click New Custom App

The user will see the popup screen as shown below:
Populate the fields:
Name: Open AI Demo Bot
Custom Skill Type: Search
Category: Default
Click on the checkbox: This is a Generative AI APP
Click Save.
The user should see the new App listed in the Custom Apps:

Creating a Data Source
A Data Source connects the App with the integration. To add a Data Source, click on the App name in the listing. A page of App contents will appear.
To add a Data Source to the new App, first check that the desired App appears in the Current App field. Open the Data Sources tab in the top tabs and press Create New Data Source.

Name: Open AI DS
Integration Configuration: Generative AI: Voiceworx Generative AI (19)
Click: Save.

Creating a Method
Now let's create some methods that interact with the APIs.
The request type of method depends on the data source.
On the Methods tab, click on Add New Method. Also note that, on the Data Source drop down, the data source created in the preceding step is selected.
A custom app can have multiple data sources, integrating with multiple third-party systems.

You are setting up on which endpoint you want to send request to and how you want the result output to be presented to the user.
Please fill in the details as suggested:
METHOD INPUT:
Name: Open AI Method
Request Type: GET
Method Path: /users
Query Path: ?name={{Person}}
METHOD OUTPUT:
Result Type: ListOfRecords
Record JsonPath: $.[*]
Record Template: {{Records}}
Record Limit: 10
METHOD RESULT:
Valid Result Template: You can contact {{name}} at {{phone}} How else I can help you?
Empty Result Template: Sorry, I could not find {{Person}} How else I can help you?
Click Save
Last updated
Was this helpful?