You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/conversational-language-understanding/how-to/deploy-query-model.md
After you have [trained a model](./train-model.md) on your dataset, you're ready to deploy it. After deploying your model, you'll be able to query it for predictions.
20
20
21
+
> [!Tip]
22
+
> Before deploying a model, make sure to view the model details to make sure that the model is performing as expected.
23
+
21
24
## Deploy model
22
25
23
-
Deploying a model is to host it and make it available for predictions through an endpoint. You can only have 1 deployed model per project, deploying another one will overwrite the previously deployed model.
26
+
Deploying a model hosts and makes it available for predictions through an endpoint.
24
27
25
28
When a model is deployed, you will be able to test the model directly in the portal or by calling the API associated to it.
26
29
27
-
Simply select a model and click on deploy model in the Deploy model page.
30
+
### Conversation projects deployments
31
+
32
+
1. Click on *Add deployment* to submit a new deployment job
33
+
34
+
:::image type="content" source="../media/add-deployment-model.png" alt-text="A screenshot showing the model deployment page in Language Studio." lightbox="../media/add-deploy-model.png":::
35
+
36
+
2. In the window that appears, you can create a new deployment name by giving the deployment a name or override an existing deployment name. Then, you can add a trained model to this deployment name.
37
+
38
+
:::image type="content" source="../media/create-deployment-job.png" alt-text="A screenshot showing deployment job creation in Language Studio." lightbox="../media/create-deployment-job.png":::
39
+
40
+
41
+
#### Swap deployments
28
42
29
-
:::image type="content" source="../media/deploy-model.png" alt-text="A screenshot showing the model deployment page in Language Studio." lightbox="../media/deploy-model.png":::
43
+
If you would like to swap the models between two deployments, simply select the two deployment names you want to swap and click on **Swap deployments**. From the window that appears, select the deployment name you want to swap with.
44
+
45
+
:::image type="content" source="../media/swap-deployment.png" alt-text="A screenshot showing swaping deployments in Language Studio." lightbox="../media/swap-deployment.png":::
46
+
47
+
#### Delete deployment
48
+
49
+
To delete a deployment, select the deployment you want to delete and click on **Delete deployment**.
30
50
31
51
> [!TIP]
32
52
> If you're using the REST API, see the [quickstart](../quickstart.md?pivots=rest-api#deploy-your-model) and REST API [reference documentation](https://westus2.dev.cognitive.microsoft.com/docs/services/language-authoring-clu-apis-2021-11-01-preview/operations/Deployments_TriggerDeploymentJob) for examples and more information.
33
53
34
-
**Orchestration workflow projects deployments**
54
+
> [!NOTE]
55
+
> You can only have ten deployment names.
56
+
57
+
### Orchestration workflow projects deployments
58
+
59
+
1. Click on **Add deployment** to submit a new deployment job.
60
+
61
+
Like conversation projects, In the window that appears, you can create a new deployment name by giving the deployment a name or override an existing deployment name. Then, you can add a trained model to this deployment name and press next.
35
62
36
-
When you're deploying an orchestration workflow project, A small window will show up for you to confirm your deployment, and configure parameters for connected services.
63
+
:::image type="content" source="../media/create-deployment-job-orch.png" alt-text="A screenshot showing deployment job creation in Language Studio." lightbox="../media/create-deployment-job-orch.png":::
37
64
38
-
If you're connecting one or more LUIS applications, specify the deployment name, and whether you're using *slot* or *version* type deployment.
39
-
* The *slot* deployment type requires you to pick between a production and staging slot.
40
-
* The *version* deployment type requires you to specify the version you have published.
65
+
2. If you're connecting one or more LUIS applications or conversational language understanding projects, specify the deployment name.
41
66
42
-
No configurations are required for custom question answering and conversational language understanding connections, or unlinked intents.
67
+
No configurations are required for custom question answering or unlinked intents.
43
68
44
69
LUIS projects **must be published** to the slot configured during the Orchestration deployment, and custom question answering KBs must also be published to their Production slots.
0 commit comments