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/ai-studio/tutorials/deploy-chat-web-app.md
+29-11Lines changed: 29 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.service: azure-ai-studio
7
7
ms.custom:
8
8
- ignite-2023
9
9
ms.topic: tutorial
10
-
ms.date: 11/15/2023
10
+
ms.date: 2/8/2024
11
11
ms.reviewer: eur
12
12
ms.author: eur
13
13
author: eric-urban
@@ -46,7 +46,7 @@ Follow these steps to deploy a chat model and test it without your data.
46
46
47
47
1. Sign in to [Azure AI Studio](https://ai.azure.com).
48
48
1. Go to your project or [create a new project](../how-to/create-projects.md) in Azure AI Studio.
49
-
1. Select **Build** from the top menu and then select **Deployments** > **Create**.
49
+
1. Select **Build** from the top menu and then select **Deployments** > **Create** > **Real-time endpoint**.
50
50
51
51
:::image type="content" source="../media/tutorials/chat-web-app/deploy-create.png" alt-text="Screenshot of the deployments page without deployments." lightbox="../media/tutorials/chat-web-app/deploy-create.png":::
52
52
@@ -126,14 +126,6 @@ Follow these steps to add your data to the playground to help the assistant answ
126
126
127
127
:::image type="content" source="../media/tutorials/chat-web-app/chat-with-data.png" alt-text="Screenshot of the assistant's reply with grounding data." lightbox="../media/tutorials/chat-web-app/chat-with-data.png":::
128
128
129
-
### Remarks about adding your data
130
-
131
-
Although it's beyond the scope of this tutorial, to understand more about how the model uses your data, you can export the playground setup to prompt flow.
132
-
133
-
:::image type="content" source="../media/tutorials/chat-web-app/prompt-flow-open.png" alt-text="Screenshot of the chat playground with the open in prompt flow button in view." lightbox="../media/tutorials/chat-web-app/prompt-flow-open.png":::
134
-
135
-
Following through from there you can see the graphical representation of how the model uses your data to construct the response. For more information about prompt flow, see [prompt flow](../how-to/prompt-flow.md).
136
-
137
129
## Deploy your web app
138
130
139
131
Once you're satisfied with the experience in Azure AI Studio, you can deploy the model as a standalone web application.
@@ -177,7 +169,7 @@ To deploy the web app:
177
169
-**Resource group**: Select a resource group in which to deploy the web app. You can use the same resource group as the Azure AI hub resource.
178
170
-**Location**: Select a location in which to deploy the web app. You can use the same location as the Azure AI hub resource.
179
171
-**Pricing plan**: Choose a pricing plan for the web app.
180
-
-**Enable chat history in the web app**: For the tutorial, make sure this box isn't selected.
172
+
-**Enable chat history in the web app**: For the tutorial, the chat history box isn't selected. If you enable the feature, your users will have access to their individual previous queries and responses. For more information, see [chat history remarks](#chat-history).
181
173
-**I acknowledge that web apps will incur usage to my account**: Selected
182
174
183
175
1. Wait for the app to be deployed, which might take a few minutes.
@@ -225,6 +217,32 @@ You're almost there! Now you can test the web app.
225
217
226
218
To avoid incurring unnecessary Azure costs, you should delete the resources you created in this quickstart if they're no longer needed. To manage resources, you can use the [Azure portal](https://portal.azure.com?azure-portal=true).
227
219
220
+
## Remarks
221
+
222
+
### Remarks about adding your data
223
+
224
+
Although it's beyond the scope of this tutorial, to understand more about how the model uses your data, you can export the playground setup to prompt flow.
225
+
226
+
:::image type="content" source="../media/tutorials/chat-web-app/prompt-flow-open.png" alt-text="Screenshot of the chat playground with the open in prompt flow button in view." lightbox="../media/tutorials/chat-web-app/prompt-flow-open.png":::
227
+
228
+
Following through from there you can see the graphical representation of how the model uses your data to construct the response. For more information about prompt flow, see [prompt flow](../how-to/prompt-flow.md).
229
+
230
+
### Chat history
231
+
232
+
With the chat history feature, your users will have access to their individual previous queries and responses.
233
+
234
+
You can enable chat history when you [deploy the web app](#deploy-the-web-app). Select the **Enable chat history in the web app** checkbox.
235
+
236
+
:::image type="content" source="../media/tutorials/chat-web-app/deploy-web-app-chat-history.png" alt-text="Screenshot of the option to enable chat history when deploying a web app." lightbox="../media/tutorials/chat-web-app/deploy-web-app-chat-history.png":::
237
+
238
+
> [!IMPORTANT]
239
+
> Enabling chat history will create a [Cosmos DB instance](/azure/cosmos-db/introduction) in your resource group, and incur [additional charges](https://azure.microsoft.com/pricing/details/cosmos-db/autoscale-provisioned/) for the storage used.
240
+
> Deleting your web app does not delete your Cosmos DB instance automatically. To delete your Cosmos DB instance, along with all stored chats, you need to navigate to the associated resource in the Azure portal and delete it.
241
+
242
+
Once you've enabled chat history, your users will be able to show and hide it in the top right corner of the app. When the history is shown, they can rename, or delete conversations. As they're logged into the app, conversations will be automatically ordered from newest to oldest, and named based on the first query in the conversation.
243
+
244
+
If you delete the Cosmos DB resource but keep the chat history option enabled on the studio, your users will be notified of a connection error, but can continue to use the web app without access to the chat history.
245
+
228
246
## Next steps
229
247
230
248
-[Create a project in Azure AI Studio](../how-to/create-projects.md).
Copy file name to clipboardExpand all lines: articles/ai-studio/tutorials/deploy-copilot-ai-studio.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Use this article to build and deploy a question and answer copilot
5
5
manager: nitinme
6
6
ms.service: azure-ai-studio
7
7
ms.topic: tutorial
8
-
ms.date: 11/15/2023
8
+
ms.date: 2/8/2024
9
9
ms.reviewer: eur
10
10
ms.author: eur
11
11
author: eric-urban
@@ -84,7 +84,7 @@ Once a project is created, you can access the **Tools**, **Components**, and **S
84
84
Follow these steps to deploy an Azure OpenAI chat model for your copilot.
85
85
86
86
1. Sign in to [Azure AI Studio](https://ai.azure.com) with credentials that have access to your Azure OpenAI resource. During or after the sign-in workflow, select the appropriate directory, Azure subscription, and Azure OpenAI resource. You should be on the Azure AI Studio **Home** page.
87
-
1. Select **Build** from the top menu and then select **Deployments** > **Create**.
87
+
1. Select **Build** from the top menu and then select **Deployments** > **Create** > **Real-time endpoint**.
88
88
89
89
:::image type="content" source="../media/tutorials/copilot-deploy-flow/deploy-create.png" alt-text="Screenshot of the deployments page with a button to create a new project." lightbox="../media/tutorials/copilot-deploy-flow/deploy-create.png":::
0 commit comments