Skip to content

Commit 2d2e32b

Browse files
author
Maryanne Gichohi
committed
Address PR comments
1 parent ec2b2c8 commit 2d2e32b

File tree

2 files changed

+135
-166
lines changed

2 files changed

+135
-166
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Chat completion is an AI capability that enables models to generate conversation
2222

2323
In this section, you will create a chat completion configuration in Azure Portal using the GPT-4o model as an example.
2424

25-
1. In Azure portal, navigate to your App configuration store. From the **Operations** menu, select **Configuration explorer** > **Create**. Then select **AI configuration**.
25+
1. In Azure portal, navigate to your App configuration store. From the **Operations** menu, select **Configuration explorer** > **Create**, and then select **AI configuration**.
2626

2727
1. Specify the following values:
2828
- **Key**: Type **ChatApp:Model**.
@@ -39,28 +39,28 @@ In this section, you will create a chat completion configuration in Azure Portal
3939

4040
## Add model connection configuration
4141

42-
You've added your chat completion configuration named **ChatApp:Model** in the previous section. In this section, you'll add your model connection details such as the model's API key and endpoint to App configuration. You can store the model API key as a Key Vault reference.
42+
You've successfully added your chat completion configuration named **ChatApp:Model**. In this section, you'll add the connection details for your model, including the endpoint and deployment name. If required by your authentication method, you can also specify an API key using a Key Vault reference.
4343

4444
> [!NOTE]
4545
> This tutorial demonstrates how to use chat completion configuration with an Azure OpenAI model. However, the chat completion configuration demonstrated in the tutorial can be applied to any AI model you choose to work with in your application.
4646
>
4747
48-
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 following settings:
48+
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-
| Field | value |
51-
|-----------------|---------|
52-
| Select a model | gpt-4o |
53-
| Deployment name | gpt-4o |
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.
5451

55-
1. In your Azure OpenAI resource, from the **Resource Management** menu, select **Keys and Endpoint** and copy your Azure OpenAI resource endpoint. It should follow the format: `https://<open-ai-resource-name>.openai.azure.com`.
52+
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).
5653

57-
1. Navigate to your App Configuration store and add the following key-value. 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).
54+
| **Key** | **Value** |
55+
|-----------------------------------------|-----------------------------------------------------------------------|
56+
| _ChatApp:AzureOpenAI:Endpoint_ | _Paste the resource endpoint you copied in the previous step_ |
57+
| _ChatApp:AzureOpenAI:DeploymentName_ | _Paste the resource deployment name you copied in the previous step_ |
58+
59+
If you plan to use an API key for authentication, you can optionally add it as a Key Vault reference using the following key-value. For detailed instructions, see [Add a Key Vault reference to App Configuration](./use-key-vault-references-dotnet-core.md#add-a-key-vault-reference-to-app-configuration).
5860

5961
| **Key** | **Value** |
6062
|----------------------------------|----------------------------------------------------------------|
61-
| _ChatApp:AzureOpenAI:Endpoint_ | _Paste the resource endpoint you copied in the previous step_ |
62-
63-
1. To store your Azure OpenAI resource API key as a Key Vault reference, refer to [Add a Key Vault reference to App Configuration](./use-key-vault-references-dotnet-core.md#add-a-key-vault-reference-to-app-configuration) guide.
63+
| _ChatApp:AzureOpenAI:APIKey_ | _The Key Vault reference of your Azure OpenAI resource API key_ |
6464

6565
1. Continue to the following instructions to implement the chat completion configuration into your application for the language or platform you are using.
6666

0 commit comments

Comments
 (0)