# Source: https://docs.avaamo.com/user-guide/tutorials-and-exercises/part-1-creating-my-agent/chapter-3-building-a-q-and-a-skill/exercise-3.1-create-a-q-and-a-skill.md

# Exercise 3.1: Train the Skill with Questions and Answer Pairs

## **Create a Q\&A Skill**

* Navigate to **Agent -> Skills**
* Click the *Edit* button in the upper right-hand corner

![](https://2934665269-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fv5%2F-MCQ5cA57CNCjlqZsBu8%2F-MCQ9sv3tK3hWlocujUe%2F16.jpeg?generation=1594962461610465\&alt=media)

* Click on *Add Skill* button
* In the displayed page, click  the *Q\&A* card

![](https://2934665269-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fv5%2F-MCQ5cA57CNCjlqZsBu8%2F-MCQ9sv4AlrTGPZKUKHq%2F17.jpeg?generation=1594962461605525\&alt=media)

* Specify the following details using the values from the picture below and click the *Create.*

## **Add question and answers**

* In the Q\&A page, click Question & Answers in the Implementation tab.
* Click plus icon to add user questions and the skill responses (answers).&#x20;

![](https://lh3.googleusercontent.com/ehDN86syYwzoNoa1bbGbogNranxDTAuKs4vEsP6jPs4Gyxy6yx0zc3z1UH18mLj58rdHEG_xFTixAWQy3CDVO-bT-zIg6jRcjp9cJrrzzDxa3CIXJWGUsuPO7QpAmOYzPQQ_9dD8)

* Let us add intent and call it Order return and cancelation. Add the following training phrase and message to your intent from the text in the table below.&#x20;

![](https://lh6.googleusercontent.com/I_-HRQH-otG8YckUFUgc17tgc6U7xi6RHmpwWUKE-0WuM9eyGAFlqpUVShdIasGd7hVC4MfQ4e5-rk63gsJHbjHGg4C-BI4qg4hPL2esGct2Sv2fxLuggAHIKY6rcBw1F1qrhwiz)

| Training Phrase                 | Message                                                                                                                                                                                                                                                                                                                      |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Can I cancel an existing order? | You can return your online order in store. If you do not have your receipt, you may return your purchase for in-store credit at our lowest selling price during the previous 30 days. You will need to provide a valid form of identification to return an item without a receipt. There are restrictions on special orders. |

* Repeat the same exercise for 3 more question-answer pairs of your choice.
* Test your skill in the agent and see how it responds.