Jarrod Davis
Authors name: Jarrod Davis February 27, 2023

You may have seen that we recently announced the beginning of the open beta launch of our new Generative AI features showcased in our recent webinar. Our seamless integration with OpenAI and Azure OpenAI throughout the product offers a range of exciting and one-of-a-kind features in the market. That said, this is only the beginning so look out for additional ones such as Flow Copilot coming soon. Now, let's dive into how you can get started today.

Prerequisites

Cognigy AI ChatGPT

 

 

Access to our new features is now available to all SaaS and Free Trial users. However, in order to take advantage of them you'll need an account with either:

  • OpenAI. You need to have a paid account or be a member of an organization providing access. Open your OpenAI user profile, copy the existing API Key, or create a new one and copy it.
  • Azure OpenAI. You need to have a paid account or be a member of an organization that provides you access. Ask your Azure Administrator to provide API Key, resource name, and deployment model name. Cognigy.AI only supports the text-davinci-003 model for Azure OpenAI. Ensure that the resource you connect is associated with this model.
(!) Please note this will NOT work with a free OpenAI account! 

 

Activating Beta Features

  1. Login to Cognigy.AI and navigate to your virtual agent/bot.

  2. On the left-hand menu, click Manage > Settings.

 

3. In the Generative AI Settings section, select a provider:
    • OpenAI. Specify the connection name and API Key you previously copied from the OpenAI user account.
    • Azure OpenAI. Specify the connection name, API Key, resourceName, and deploymentName, which your Azure Administrator provided.

 

4. Save changes.

Now, the features will be activated and appear throughout Cognigy.AI

Features Overview

First of all, please be aware these features are currently designed to work with English and German. While you can feel free to use other languages, they are not fully supported at this time.

So what can you do during the open beta program? Here are the features currently available with more coming soon!

Generate Lexicons

Lexicons are collections of domain-specific key phrases. In non-technical speak, you can think of them as a dictionary that enables your virtual agent to understand specific categories of words such as "Car Brands" or "Zip Codes" or "Main Courses."

To use Generative AI technology to create a new Lexicon:

  • On the left-side menu, click Build > Lexicons.
  • Click + New Lexicon.
  • In the New Lexicon window, enter a name describing the Lexicon's topic and add a relevant description. This helps generate a more accurate result.
  • Go to the Lexicon Entry Generation setting, and activate Generate Lexicon Entries.
  • Select Lexicon language from the list.
  • Set the number of entries (lexicon units)
  • (Optional) Add the default Slot.
  • Click Create.

Lexicon Generation

Generate Flows

Flows are the heart of conversation, a visual representation of potential dialogs in an easy flow-chart like view. 

  1. In the left-side menu of the Cognigy.AI interface, click Build > Flows.
  2. Click + New Flow.
  3. On the New Flow window, go to the Flow Generation section and select one of the options:
    • None - the Generative AI will not be applied to this Flow. This is activated by default.
    • Name and Description - Generative AI will use the Name and Description fields for generating Flow.
    • Name and Transcript - Generative AI will use the Name and Transcript fields for generating Flow. For this setting, you need to create a conversation scenario and put it in the Transcript field. Use the Transcript field template as an example for your scenario.
  4. Generate the Flow by clicking Create.

 

Flow Generation

 

Generate Intent Sentences

Creating intent examples has thus far been a manual process, consisting of thinking up and entering a variety of example sentences. With Generative AI, you can do this in an instant. 

  1. Open your Flow.
  2. In the upper-right corner of the Flow Editor page, select NLU.
  3. On the Intent tab, click Create Intent.
  4. Enter a unique name for the Intent and add a relevant description. It helps generate proper sentences.
  5. Activate the Generate Example Sentences setting.
  6. Select the number of example sentences to create.
  7. Click Create.
  8. Click Build Model, to quickly retrain the NLU.

If you want to add more examples automatically, use the Generate Sentences button. New sentences will be marked in light blue. The system generates specific numbers of sentences. Save changes and build your model again.

 Training Data Generation

 

Rephrase Bot Outputs

One of the most exciting features for customers is the ability to turn scripted standard responses into dynamic and contextual ones, while still ensuring the right information is given and the bot sticks to its task. Generative AI features are available in the Say, Question, and Optional Question nodes.

To use AI-enhanced bot output rephrasing:

  1. Open the existing Flow.
  2. Add one of the Nodes: Say, Question, or Optional Question.
  3. Go to the AI-enhanced output section.
  4. In the Rephrase Output setting, select one of the options:
    • None - the Generative AI will not be applied to this Node. This setting is activated by default.
    • Based on Custom Input - specify custom values for the Input. Use the Custom Inputs field that allows the bot developer to input information for contextualizing and rephrasing the output.
    • Based on previous user inputs - set the last x user Inputs considered.
  5. Set the score in the Temperature setting. The temperature range determines the extent of variation in Generative AI's response.
  6. Click Save Node.

Check in the interactive panel if your Flow works as expected.AI-Enhanced Output

That's All Folks....for now

As the open beta begins, we're hard at work improving these features, developing and rolling out new ones and eagerly listening to customer and user feedback. 

You can find additional information in the Help Center documentation on Generative AI. Want to try out the Generative AI features in Cognigy.AI yourself? Sign up for a free trial today! 

Start Your Free Trial

 

image119-1
image119-1
image119-1