|
| 1 | +--- |
| 2 | +services: cognitive-services |
| 3 | +author: aahill |
| 4 | +manager: nitinme |
| 5 | +ms.service: cognitive-services |
| 6 | +ms.subservice: language-service |
| 7 | +ms.topic: include |
| 8 | +ms.date: 03/16/2022 |
| 9 | +ms.author: aahi |
| 10 | +--- |
| 11 | + |
| 12 | +## Prerequisites |
| 13 | + |
| 14 | +* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services). |
| 15 | + |
| 16 | +## Sign in to Language Studio |
| 17 | + |
| 18 | +1. Go to the [Language Studio](https://aka.ms/languageStudio) and sign in with your Azure account. |
| 19 | + |
| 20 | +2. In the **Choose a language resource** window that appears, find your Azure subscription, and choose your Language resource. If you don't have a resource, you can create a new one. |
| 21 | + |
| 22 | + > [!NOTE] |
| 23 | + > Currently only resources with the standard (**S**) pricing tier can be used with the Conversational Language Understanding service. |
| 24 | + |
| 25 | + :::image type="content" source="../../../conversational-language-understanding/media/quickstart-language-resource.png" alt-text="A screenshot showing the resource selection screen in Language Studio." lightbox="../../../conversational-language-understanding/media/quickstart-language-resource.png"::: |
| 26 | + |
| 27 | +## Create an orchestration project |
| 28 | + |
| 29 | +Once you have a Language resource associated with your account, create an orchestration workflow project. In this quickstart, you'll create a project that connects between different Conversation Language Understanding projects and Custom Question Answering projects. |
| 30 | + |
| 31 | +1. In [Language Studio](https://aka.ms/languageStudio), find the section labeled **Understand questions and conversational language** and select **Orchestration Workflow**. |
| 32 | + |
| 33 | + :::image type="content" source="../../../conversational-language-understanding/media/select-custom-clu.png" alt-text="A screenshot showing the location of Custom Language Understanding in the Language Studio landing page." lightbox="../../../conversational-language-understanding/media/select-custom-clu.png"::: |
| 34 | + |
| 35 | + |
| 36 | +2. This will bring you to the **Orchestration workflow project** page. Select **Create new project**. |
| 37 | + |
| 38 | + :::image type="content" source="../../../conversational-language-understanding/media/projects-page.png" alt-text="A screenshot showing the conversation project page in Language Studio." lightbox="../../../conversational-language-understanding/media/projects-page.png"::: |
| 39 | + |
| 40 | + |
| 41 | +You then need to provide the following details: |
| 42 | + |
| 43 | +|Value | Description | |
| 44 | +|---------|---------| |
| 45 | +|Name | A name for your project. | |
| 46 | +|Description | Optional project description. | |
| 47 | +|Utterances primary language | The primary language of your project. Your training data should primarily be in this language. For this quickstart, choose **English**. | |
| 48 | + |
| 49 | +Once you're done, select **Next** and review the details. Select **create project** to complete the process. You should now see the **Build Schema** screen in your project. |
| 50 | + |
| 51 | +## Build schema |
| 52 | + |
| 53 | +1. Click on *+Add* button to add your intent. |
| 54 | +2. Give your intent a name and choose to connect the intent to an existing project. |
| 55 | +3. Click on *Add intent* button. |
| 56 | +4. Another option is to select *no* when creating an intent and don't connect it to an existing project. |
| 57 | + |
| 58 | +When you select the intent, you will see the [tag utterances](../../how-to/tag-utterances.md) page, where you can add examples for intents. |
| 59 | + |
| 60 | + |
| 61 | +:::image type="content" source="../../../conversational-language-understanding/media/quickstart-intents.png" alt-text="A screenshot showing the schema page in Language studio." lightbox="../../../conversational-language-understanding/media/quickstart-intents.png"::: |
| 62 | + |
| 63 | +## Tag utterances |
| 64 | + |
| 65 | +In the tag utterances page, let's add a few examples to the intents. Select the **Greeting** intent from the drop-down box that says **Select Intent**. |
| 66 | + |
| 67 | +In the text box that says **Write your example utterance and press enter**, write the sentence "*Good evening*" and press enter to add it as an example utterance. |
| 68 | + |
| 69 | +Add the rest of these utterances to the **Greeting** intent to the Training set. |
| 70 | + |
| 71 | +|Utterance| |
| 72 | +|--| |
| 73 | +|*Good evening*| |
| 74 | +|*Good morning*| |
| 75 | +|*Hey*| |
| 76 | +|*What's up*| |
| 77 | + |
| 78 | +When you're done, select **Save Changes** to save the utterances and labels to the project. The icon next to the button will turn green when the changes are saved. Next, go to the **Train Model** page. |
| 79 | + |
| 80 | +:::image type="content" source="../../../conversational-language-understanding/media/quickstart-utterances.png" alt-text="A screenshot showing the intents tagging screen in Language Studio." lightbox="../../../conversational-language-understanding/media/quickstart-utterances.png"::: |
| 81 | + |
| 82 | +## Train your model and view its details |
| 83 | + |
| 84 | +Select **train model** on the left of the screen. Select **Start a training job**. To train your model, you need to provide a name for the model. Write a name like "*v1*" and press the enter key. |
| 85 | + |
| 86 | +You should see the **View model details** page. Wait until training completes, which may take about 5 minutes. When training succeeds, Select **Deploy Model** on the left of the screen. |
| 87 | + |
| 88 | +## Deploy your model |
| 89 | + |
| 90 | +From the **Deploy model** page on the left of te screen, Select **Add deployment**. To deploy your model, you need to create a new deployment name. Write a name like "*staging*" and press the next button. |
| 91 | + |
| 92 | +Once you're done, select **Next** and review the details. For the connected projects, select which deployment name from the drop-down menu and press *Submit*. |
| 93 | + |
| 94 | +## Test your model |
| 95 | + |
| 96 | +Select **Test model** on the left of the screen, and select the deployment name from the drop-down menu. Add your test, for example *Good morning* in the text field and click on **Run the test**. |
| 97 | + |
| 98 | +You now see the top intent as **Greeting**. |
0 commit comments