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 an end-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
...
If 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 with from the slot name with a pipe (|) symbol.
Example utterance, I like {magenta|color}
My favorite color is {cyan|color}
{jade,turkish,cyan,magenta|color} is my favorite
{scarlet,tan,gold|color}
...
Info |
---|
The annotation words defined in the utterances are specific to the intent. |
Related Articles
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|