Skip to content

Commit c6ba051

Browse files
author
Maryanne Gichohi
committed
Address PR comments
1 parent 58bf7be commit c6ba051

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/azure-app-configuration/howto-chat-completion-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You've successfully added your chat completion configuration named **ChatApp:Mod
4747
4848
1. Follow the [Get started with Azure OpenAI Service](/azure/ai-services/openai/overview#get-started-with-azure-openai-service) to create and deploy an Azure OpenAI service resource with a **gpt-4o** model. Please note down the deployment name for later use.
4949

50-
1. In your Azure OpenAI resource, from the **Resource Management** menu, select **Keys and Endpoint** and copy the Azure OpenAI resource endpoint, it should follow the format: `https://<open-ai-resource-name>.openai.azure.com`. If using the API key for authentication copy the API key as well.
50+
1. In your Azure OpenAI resource, from the **Resource Management** menu, select **Keys and Endpoint** and copy the Azure OpenAI resource endpoint, it should follow the format: `https://<open-ai-resource-name>.openai.azure.com`. If using the API key for authentication, copy the API key as well.
5151

5252
1. Navigate to your App Configuration store and add the following key-values. Leave **Label** and **Content Type** with their default values. For more information about how to add key-values to a store using the Azure portal or the CLI, go to [Create a key-value](./quickstart-azure-app-configuration-create.md#create-a-key-value).
5353

articles/azure-app-configuration/quickstart-chat-completion-dotnet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ In this guide, you build an AI chat application and iterate on the prompt using
104104
105105
If the key _ChatApp:AzureOpenAI:ApiKey_ is a Key Vault reference in App Configuration, make sure to add the following code snippet to the `AddAzureAppConfiguration` call and [grant your app access to Key Vault](./use-key-vault-references-dotnet-core.md#grant-your-app-access-to-key-vault).
106106
107-
```cshrap
107+
```csharp
108108
options.ConfigureKeyVault(keyVaultOptions =>
109109
{
110110
keyVaultOptions.SetCredential(credential);
@@ -158,7 +158,7 @@ In this guide, you build an AI chat application and iterate on the prompt using
158158
}
159159
```
160160
161-
1. Next, update the existing code in _Program.cs_ file to refresh the configuration from Azure App Configuration:
161+
1. Next, update the existing code in the _Program.cs_ file to refresh the configuration from Azure App Configuration, apply the latest AI configuration values to the chat completion settings, and retrieve a response from the AI model.
162162
163163
```csharp
164164
while (true)
@@ -336,7 +336,7 @@ In this guide, you build an AI chat application and iterate on the prompt using
336336
- Role: **system**
337337
- Content: "You are a cheerful tour guide".
338338
339-
1. Press the Enter key to trigger a refresh and you should see the updated value in the output.
339+
1. Wait a few moments for the refresh interval to elapse, and then press the Enter key to see the updated AI response in the output.
340340
341341
```Output
342342
system: You are a cheerful tour guide

0 commit comments

Comments
 (0)