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-services/openai/how-to/use-web-app.md
+23-4Lines changed: 23 additions & 4 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-openai
7
7
ms.topic: how-to
8
8
author: aahill
9
9
ms.author: aahi
10
-
ms.date: 02/23/2024
10
+
ms.date: 03/27/2024
11
11
recommendations: false
12
12
---
13
13
@@ -45,13 +45,32 @@ When customizing the app, we recommend:
45
45
46
46
Sample source code for the web app is available on [GitHub](https://github.com/microsoft/sample-app-aoai-chatGPT). Source code is provided "as is" and as a sample only. Customers are responsible for all customization and implementation of their web apps.
47
47
48
-
### Updating the web app
49
-
50
-
We recommend pulling changes from the `main` branch for the web app's source code frequently to ensure you have the latest bug fixes, API version, and improvements.
48
+
## Updating the web app
51
49
52
50
> [!NOTE]
53
51
> After February 1, 2024, the web app requires the app startup command to be set to `python3 -m gunicorn app:app`. When updating an app that was published prior to February 1, 2024, you need to manually add the startup command from the **App Service Configuration** page.
54
52
53
+
We recommend pulling changes from the `main` branch for the web app's source code frequently to ensure you have the latest bug fixes, API version, and improvements. Additionally, the web app must be synchronized every time the API version being used is [retired](../api-version-deprecation.md#retiring-soon).
54
+
55
+
**If you haven't customized the app:**
56
+
* You can follow the synchronization steps below
57
+
58
+
**If you've customized or changed the app's source code:**
59
+
* You will need to update your app's source code manually and redeploy it.
60
+
* If your app is hosted on GitHub, push your code changes to your repo, and use the synchronization steps below.
61
+
* If you're redeploying the app manually (for example Azure CLI), follow the steps for your deployment strategy.
62
+
63
+
64
+
### Synchronize the web app
65
+
66
+
1. If you've customized your app, update the app's source code.
67
+
1. Navigate to your web app in the [Azure portal](https://portal.azure.com/).
68
+
1. Select **Deployment center** in the navigation menu, under **Deployment**.
69
+
1. Select **Sync** at the top of the screen, and confirm that the app will be redeployed.
70
+
71
+
:::image type="content" source="../media/use-your-data/sync-app.png" alt-text="A screenshot of web app synchronization button on the Azure portal." lightbox="../media/use-your-data/sync-app.png":::
72
+
73
+
55
74
## Chat history
56
75
57
76
You can enable chat history for your users of the web app. When you enable the feature, your users will have access to their individual previous queries and responses.
0 commit comments