Generate intents and utterances based on a description for Virtual Agent and Copilot
When you generate intents and utterances, the more context that you provide, the better. For example, “The customer asks about a product’s availability in the online store.” Experienced flow authors likely have a feel for how well the intent performs. Virtual Agent generates up to 10 intents and 20 utterances. You can adjust, delete, and add more utterances or intents for fine-tuning. You can also delete intents and utterances in bulk. Generating more utterances helps to improve natural language understanding. Architect automatically creates reusable tasks that you can configure for each intent.
If you have an existing intent that is similar to the one you just created, then the utterances that Virtual Agent generates can produce confusion with those other utterances in Intent Health. After Virtual Agent generates your utterances, you can edit, update, or delete your utterances.
- To access the option to upgrade to Virtual Agent, you must purchase the Genesys Cloud AI Experience license.
- After you publish and run the flow, Virtual Agent consumes Genesys Cloud AI Experience tokens. For more information, see Genesys Cloud AI Experience tokens metering and pricing.
Upgrade to Virtual Agent from a voice or digital bot flow
Upgrade each flow individually; you cannot upgrade to all voice or all digital bot flows at once. After you upgrade to Virtual Agent, generate intents, and complete the remaining configuration, publish the flow so that you can use the AI features.
For more information, see Upgrade your voice or digital bot flow to Virtual Agent.
- Click Admin.
- Under Architect, click Architect.
- From the Architect Flows list, select Bot Flow or Digital Bot Flow.
- Open an existing flow or create a new one.
- In the upper right corner, click Upgrade to Virtual Agent.
- In the Upgrade to Virtual Agent dialog box, click Upgrade.
Use Virtual Agent to generate intents and utterances
- Click Admin.
- Under Architect, click Architect.
- From the Architect Flows list, select Bot Flow or Digital Bot Flow.
- Open an existing flow or create a new one.Note: If you open an existing flow that contains existing intents, you cannot generate additional intents with Virtual Agent. To generate intents with Virtual Agent, you must first delete the existing intents.
- Ensure that the flow is enabled for Virtual Agent. If the flow does not use Virtual Agent, click Upgrade to Virtual Agent. In the dialog box that appears, click Upgrade.
- Under Natural Language Understanding, click Intents.
- Click Generate Intents. The Generate Intents dialog box opens.
- Under AI Prompt, add a description of the intents that you want to create. Tip: Add as much context as you can to assist Virtual Agent with compiling results.
- Under Industry, add the name of the industry for the bot. This step is optional.
- To generate utterances for the first four supported languages, including the default language, enable the Generate utterances for the first 4 Supported Languages checkbox.
- Click Generate Intents & Utterances. A message appears at the bottom of the dialog box, informing you that Virtual Agent is generating intents and utterances with AI.Note: The process to generate intents and utterances can take several minutes.
- To generate more utterances, click an intent. The Utterances view opens.
- Click Generate.
Add an additional intent and generate utterances
If you create a new or more intent, you can use generative AI to build it. If you leave the description empty, the system generates a blank intent with no utterances.
- To add more intents, click Intent. The Add Intent dialog box opens.
- Under Intent Name, describe the intent you want to create.
- Digital bot flows only: Under Map intent to a Task, select to map the intent to a new task or an existing task.
- If you select New Task, then Architect creates a task with the same name as the intent name.
- If you select Existing, then click the Select Task list and choose the preferred task.
- Click Next. The Generate Utterances dialog box opens.
- Add the utterances description. For example, The customer asks about a product’s availability in the online store.
- To generate utterances for the first four supported languages, including the default language, enable the Generate utterances for the first 4 Supported Languages checkbox.
- Click Generate Intent & Utterances.
Generate intents and utterances for multiple languages
After you create intents and utterances for the first five languages, you can change the flow to the language for which to add utterances and perform the same steps with Virtual Agent to create them for each additional language.
In this example, the bot flow has 10 supported languages: Catalan, Danish, Dutch, English Ireland, English United States, French, German, Hindi, Japanese, Korean, Turkish, and Ukrainian.
The first time that the flow author generates intents, Architect returns intents and utterances for English (default), Catalan, Danish, German, and English Irish, based on the language locale. Notice that Dutch is not included, because the language locale is lower in alphabetical order.
However, if the flow author changes the flow to Dutch, they can open an intent and then use Virtual Agent to generate utterances for that language.
Use Virtual Agent to generate intents and utterances for up to five languages
- Click Add Intent.
- Under Intent Name, add the intent name. For example, Product availability.
- Click Next. The Generate Utterances dialog opens. Add the utterances description. For example, The customer asks about a product’s availability in the online store.
- Click Generate Intent & Utterances.
- To generate more intents, click Generate. The Generate Utterances dialog opens. You can use the same Intent AI Prompt or you can change it.
- Click Generate Utterances.
Use Virtual Agent to generate utterances for more than five languages
After you create intents and utterances for the first five languages, you can change the flow to the language for which to add utterances and perform the same steps with Virtual Agent to create them for each additional language.
- Click the language list and select the next language for which to generate utterances.
- Under Natural Language Understanding, click Intents. The list of generated intents appears.
- Click an intent name. The Utterances view opens.
- Click Generate. The Generate Utterances view opens.
- (Optional) Edit the Intent AI Prompt description or leave the existing content.
- Click Generate Utterances. Architect builds utterances for the additional language.
Opt out of Virtual Agent
If you revert your flow, Architect removes Virtual Agent functionality from your flow and you lose access to previously configured Virtual Agent settings. Then click Revert. You do not lose the intents or utterances that you already built.
To downgrade your flow from Virtual Agent and revert your changes, export a previous version of the flow that is not Virtual Agent-enabled, and import it in your Virtual Agent-enabled flow.