/
How to use Annotations in Intents

How to use Annotations in Intents

In Orbita, while creating intents, you can annotate words into the slots that are used in the utterances. When you annotate, Dialogflow considers the annotated words along with slot values.

In General, If you want your intent to recognize a user's utterance about their favorite color, you could define the following training phrases as below using slots:

I like {color}

My favorite color is {color}

{color}

{color} is my favorite

But, if you want to add more colors to the utterance on the go without adding them to slots, you can add the annotations within the curly braces in the utterances separated by a comma. The annotation words should be separated from the slot name with a pipe (|) symbol.

I like {magenta|color}
My favorite color is {cyan|color}
{jade,turkish|color} is my favorite
{scarlet,tan,gold|color}

The annotation words defined in the utterances are specific to the intent.

Related Articles

Related content

Guide to Orbita Answers
Guide to Orbita Answers
Read with this
How do I create lists (slots)?
How do I create lists (slots)?
More like this
How do I create a .xlsx file for Answers v2?
How do I create a .xlsx file for Answers v2?
Read with this
List Mapping
List Mapping
More like this
3.3.7 Autogenerate Slots and Intents
3.3.7 Autogenerate Slots and Intents
More like this
Nomenclature of auto generated Intents and Slots
Nomenclature of auto generated Intents and Slots
More like this