Work with utterances
Utterances are sample phrases that a user would use to describe what they want to do. For example, “Book a room for Tuesday” or “I want to reserve a room for tomorrow.” Both of these utterances convey the same intent: to book a room for tomorrow.
When creating sample utterances, try to create variations and a wide range of semantics for each intent. Best practice recommends that you create multiple variations of the same phrase.
You do not need a separate utterance for every possible value; for example, “Book a room for Monday,” “Book a room for Tuesday,” and “Book a room for Wednesday.” Instead, use separate utterances to store different variations of the same phrase, and add slots to map specific words and phrases to the utterance.
- You must have two utterances added to your intent before you can save it.
- An utterance can include up to 500 characters.
- For information about importing intents and utterances from the intent miner, see Import mined intents into a Genesys Dialog Engine Bot Flow or Genesys Digital Bot Flow.
Add an utterance
- Create a bot flow or open an existing one. The Bot Flow page opens.
- Under Natural Language Understanding, click Intents.
- Select the intent to which you want to add an utterance.
- Under Utterances, in the Type a new Utterance here box, type an utterance and press Enter.
- Add more utterances to the intent, as needed.
Edit an utterance
- Click an utterance and modify the information, as required.
Map slots to utterances
- After you create slots with the associated slot types, make sure to map specific words and phrases in the utterances to the correct slots. You can map slots to utterances after you create slots with the associated slot types, or you can create new slots from the Utterance page. For more information, see Map slots to utterances.
Delete an utterance
- Next to the utterance you want to remove, click Delete .
- Use the Search filter to locate all utterances that use a specific keyword. This feature is useful when you have many utterances for your intent. In the Search field, type a word to locate all instances of that word in multiple utterances.