Training Phrase Documentation
Instruction After building an agent, you can control how data is extracted by annotating parts of your training phrases and configuring the associated parameters. The parameter annotation feature is only available through the Dialogflow Console User Interface. After successfully publishing to Google from ixHello, some manual intervention is needed. Follow the steps below to annotate parameters within training phrases.
Annotating Parameters

Parameters need to be added before Annotation can begin. Parameters are added in the Actions and Parameters section. For this instance, 2 parameters were created:
@sys.any:item refers to an object for sale: iPhone, tablet, etc.
@sys.ordinal:itemQuantity refers to the number of items requested: 1, 2, 3,...
On the left side navigation bar of the Dialogflow console, select Intents.
Select any intent where you want to perform annotation (DeliveryRequestIntent).

After selecting the intent you can find list of training phrases.
Consider a training phrase like "Can I have 4 iphones?" The phrase has both a quantity (4) and an item (iphones). Both parts should be annnotated.
Highlight 4 and right-click. From the menu, select the parameter @sys.ordinal:itemQuantity. Similarly, you should annotate iphones with @sys.any:item.

Repeat the annotation process for all Training phrases.
Click Save.
Repeat for all intents. After saving, you will see a message Agent training completed OK.
Skill Testing
After training is complete, begin testing.
Select Integration on the left side navigation menu.
Click on “Continue with the integration”
·
This will pop up a modal, as show in below image. Click on “Test”. That will navigate you to Google Action Console.

· In Action console then you can test the skill.
·
Click on “Talk to my test app” button, which will initiate skill.

Last updated
Was this helpful?