> For the complete documentation index, see [llms.txt](https://docs.ixhello.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ixhello.com/ixhc/connections/training-phrase-documentation.md).

# 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="https://1107164708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8XHvUsfyTUFLvToHqD%2Fuploads%2FOOS5IJy5ZaZbB9KHnZsF%2F4iphones.png?alt=media&amp;token=682a3698-6644-44ce-93df-e988bd385294" 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="https://1107164708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8XHvUsfyTUFLvToHqD%2Fuploads%2FcQHzOEiAfTNwbiJp5PUr%2F2Intents.png?alt=media&amp;token=48527964-53c5-44a5-97e2-cfdeb5f9d161" 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="https://1107164708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8XHvUsfyTUFLvToHqD%2Fuploads%2FZyYyGWXUUdOHl7F5b0rx%2F4ifones.png?alt=media&amp;token=c4877f2d-5c06-4f1b-952c-0a8efbac1d94" 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>

   ![](https://1107164708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8XHvUsfyTUFLvToHqD%2Fuploads%2FMjA74xGHXVdgechBiWQe%2F1?alt=media)

### 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](https://1107164708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8XHvUsfyTUFLvToHqD%2Fuploads%2FASbOBu6QjYM7dYWoyuBz%2F2?alt=media)

·      ![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;![](https://1107164708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8XHvUsfyTUFLvToHqD%2Fuploads%2FtDGTe1OSmSQ3NPYPCWNz%2Fimage.png?alt=media\&token=79c9e66d-d8ef-4c0c-b519-18b9091942ec)

&#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.

![](https://1107164708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8XHvUsfyTUFLvToHqD%2Fuploads%2Fl8GR3mFHugvgRaj9arUM%2Fimage.png?alt=media\&token=778f836a-343b-43c8-a73d-15c35cd1a1f6)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
