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
For the full configuration steps that are required to make these code examples work, please consult the [use your data quickstart](../use-your-data-quickstart.md).
262
+
For the full configuration steps that are required to make these code examples work, consult the [use your data quickstart](../use-your-data-quickstart.md).
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/use-web-app.md
+3-1Lines changed: 3 additions & 1 deletion
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/09/2024
10
+
ms.date: 02/23/2024
11
11
recommendations: false
12
12
---
13
13
@@ -43,6 +43,8 @@ When customizing the app, we recommend:
43
43
44
44
- When you rotate API keys for your Azure OpenAI or Azure AI Search resource, be sure to update the app settings for each of your deployed apps to use the new keys.
45
45
46
+
Sample source code for Azure OpenAI On Your Data 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 using Azure OpenAI On Your Data.
47
+
46
48
### Updating the web app
47
49
48
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.
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/use-your-data-common-variables.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,82 +14,82 @@ To successfully make a call against Azure OpenAI, you need the following variabl
14
14
15
15
|Variable name | Value |
16
16
|--------------------------|-------------|
17
-
|`AOAIEndpoint`| This value can be found in the **Keys & Endpoint** section when examining your Azure OpenAI resource from the Azure portal. Alternatively, you can find the value in **Azure AI studio** > **Chat playground** > **Code view**. An example endpoint is: `https://my-resoruce.openai.azure.com`.|
18
-
|`AOAIKey`| This value can be found in **Resource management** > **Keys & Endpoint** section when examining your Azure OpenAI resource from the Azure portal. You can use either `KEY1` or `KEY2`. Always having two keys allows you to securely rotate and regenerate keys without causing a service disruption. |
19
-
|`AOAIDeploymentId`| This value corresponds to the custom name you chose for your deployment when you deployed a model. This value can be found under **Resource Management** > **Deployments** in the Azure portal or alternatively under **Management** > **Deployments** in Azure AI studio.|
20
-
|`SearchEndpoint`| This value can be found in the **Overview** section when examining your Azure AI Search resource from the Azure portal. |
21
-
|`SearchKey`| This value can be found in the **Settings** > **Keys** section when examining your Azure AI Search resource from the Azure portal. You can use either the primary admin key or secondary admin key. Always having two keys allows you to securely rotate and regenerate keys without causing a service disruption. |
22
-
|`SearchIndex`| This value corresponds to the name of the index you created to store your data. You can find it in the **Overview** section when examining your Azure AI Search resource from the Azure portal. |
17
+
|`AZURE_OPENAI_ENDPOINT`| This value can be found in the **Keys & Endpoint** section when examining your Azure OpenAI resource from the Azure portal. Alternatively, you can find the value in **Azure AI studio** > **Chat playground** > **Code view**. An example endpoint is: `https://my-resoruce.openai.azure.com`.|
18
+
|`AZURE_OPENAI_API_KEY`| This value can be found in **Resource management** > **Keys & Endpoint** section when examining your Azure OpenAI resource from the Azure portal. You can use either `KEY1` or `KEY2`. Always having two keys allows you to securely rotate and regenerate keys without causing a service disruption. |
19
+
|`AZURE_OPEN_AI_DEPLOYMENT_ID`| This value corresponds to the custom name you chose for your deployment when you deployed a model. This value can be found under **Resource Management** > **Deployments** in the Azure portal or alternatively under **Management** > **Deployments** in Azure AI studio.|
20
+
|`AZURE_AI_SEARCH_ENDPOINT`| This value can be found in the **Overview** section when examining your Azure AI Search resource from the Azure portal. |
21
+
|`AZURE_AI_SEARCH_API_KEY`| This value can be found in the **Settings** > **Keys** section when examining your Azure AI Search resource from the Azure portal. You can use either the primary admin key or secondary admin key. Always having two keys allows you to securely rotate and regenerate keys without causing a service disruption. |
22
+
|`AZURE_AI_SEARCH_INDEX`| This value corresponds to the name of the index you created to store your data. You can find it in the **Overview** section when examining your Azure AI Search resource from the Azure portal. |
0 commit comments