Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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 slot such as magenta, Cyan, etc. 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

  • No labels