# 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

<figure><img src="/files/f28K7RALZahSsPVukoFX" alt=""><figcaption></figcaption></figure>

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:

* &#x20;**@sys.any:item** refers to an object for sale: iPhone, tablet, etc.
* &#x20;**@sys.ordinal:itemQuantity** refers to the number of items requested: 1, 2, 3,...

1. On the left side navigation bar of the Dialogflow console, select **Intents**.
2. Select any intent where you want to perform annotation (**DeliveryRequestIntent**).

   <figure><img src="/files/EhUD2wCeatLRaRpVpvKP" alt=""><figcaption></figcaption></figure>
3. After selecting the intent you can find list of training phrases.
4. 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.&#x20;
5. Highlight **4** and right-click. From the menu, select the parameter **@sys.ordinal:itemQuantity**. Similarly, you should annotate iphones with **@sys.any:item.**

   <figure><img src="/files/mlu0xP1IC9vGVNTTJcBd" alt=""><figcaption></figcaption></figure>
6. Repeat the annotation process for all Training phrases.
7. Click **Save**.
8. Repeat for all intents. After saving, you will see a message **Agent training completed OK**.<br>

   ![](/files/JWIaYFUzfSVChEtRN736)

### Skill Testing

After training is complete, begin testing.

1. Select **Integration** on the left side navigation menu.
2. Click on “Continue with the integration”

![test.png](/files/lHBTkBWhTljv7mvqfFoX)

·      ![test.png](file:///C:/Users/Proshore/AppData/Local/Temp/msohtmlclip1/01/clip_image002.gif)This will pop up a modal, as show in below image. Click on “Test”. That will navigate you to Google Action Console.\ <br>

&#x20;![](/files/Qtryyy9ZVznpAYsnc4rN)

&#x20;

&#x20;

·       In Action console then you can test the skill.

·       ![test.png](file:///C:/Users/Proshore/AppData/Local/Temp/msohtmlclip1/01/clip_image004.gif)Click on “Talk to my test app” button, which will initiate skill.

![](/files/Pc9v37bDfDtEn5PgCPE8)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ixhello.com/ixhc/connections/training-phrase-documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
