Skip to content

Commit 573a754

Browse files
Merge pull request #265711 from eric-urban/eur/studio-tutorial-refresh
refresh deploy steps
2 parents 20cf379 + 3b063c5 commit 573a754

File tree

7 files changed

+31
-13
lines changed

7 files changed

+31
-13
lines changed
45.8 KB
Loading
74.4 KB
Loading
130 KB
Loading
175 KB
Loading
130 KB
Loading

articles/ai-studio/tutorials/deploy-chat-web-app.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-ai-studio
77
ms.custom:
88
- ignite-2023
99
ms.topic: tutorial
10-
ms.date: 11/15/2023
10+
ms.date: 2/8/2024
1111
ms.reviewer: eur
1212
ms.author: eur
1313
author: eric-urban
@@ -46,7 +46,7 @@ Follow these steps to deploy a chat model and test it without your data.
4646

4747
1. Sign in to [Azure AI Studio](https://ai.azure.com).
4848
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**.
5050

5151
:::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":::
5252

@@ -126,14 +126,6 @@ Follow these steps to add your data to the playground to help the assistant answ
126126

127127
:::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":::
128128

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-
137129
## Deploy your web app
138130

139131
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:
177169
- **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.
178170
- **Location**: Select a location in which to deploy the web app. You can use the same location as the Azure AI hub resource.
179171
- **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).
181173
- **I acknowledge that web apps will incur usage to my account**: Selected
182174

183175
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.
225217

226218
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).
227219

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+
228246
## Next steps
229247

230248
- [Create a project in Azure AI Studio](../how-to/create-projects.md).

articles/ai-studio/tutorials/deploy-copilot-ai-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Use this article to build and deploy a question and answer copilot
55
manager: nitinme
66
ms.service: azure-ai-studio
77
ms.topic: tutorial
8-
ms.date: 11/15/2023
8+
ms.date: 2/8/2024
99
ms.reviewer: eur
1010
ms.author: eur
1111
author: eric-urban
@@ -84,7 +84,7 @@ Once a project is created, you can access the **Tools**, **Components**, and **S
8484
Follow these steps to deploy an Azure OpenAI chat model for your copilot.
8585

8686
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**.
8888

8989
:::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":::
9090

0 commit comments

Comments
 (0)