Skip to content

Commit 3bf7972

Browse files
author
Maryanne Gichohi
committed
Address PR comments
1 parent a617277 commit 3bf7972

File tree

1 file changed

+5
-56
lines changed

1 file changed

+5
-56
lines changed

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

Lines changed: 5 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -38,58 +38,6 @@ In this section, you will create a chat completion configuration in Azure Portal
3838
3939
1. Leave the rest of the values as default then select **Apply**.
4040

41-
## Create and deploy an Azure OpenAI service resource
42-
43-
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:
44-
45-
| Field | value |
46-
|-----------------|---------|
47-
| Select a model | gpt-4o |
48-
| Deployment name | gpt-4o |
49-
50-
1. In your Azure OpenAI resource, from the **Resource Management** menu, select **Keys and Endpoint** section and copy your Azure OpenAI resource endpoint. It should follow the format: `https://<open-ai-resource-name>.openai.azure.com`.
51-
52-
1. Select **Operations** > **Configuration explorer** > **Create** > **Key-Value**
53-
---
54-
title: Chat completion configuration
55-
titleSuffix: Azure App Configuration
56-
description: Learn how to create chat completion configuration in Azure App Configuration.
57-
ms.service: azure-app-configuration
58-
author: mgichohi
59-
ms.author: mgichohi
60-
ms.topic: how-to
61-
ms.date: 04/20/2025
62-
ms.collection: ce-skilling-ai-copilot
63-
---
64-
65-
# Chat Completion configuration in Azure App Configuration
66-
67-
Chat completion is an AI capability that enables models to generate conversational responses based on a series of messages. Unlike simple text completion, chat completion maintains context across multiple exchanges, simulating a natural conversation. With chat completion configuration, you can define and manage how AI models respond within your application. A typical configuration includes model selection, system and user prompts, and model-specific settings such as temperature or token limits.
68-
69-
## Prerequisites
70-
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free)
71-
- An App Configuration store. [Create a store](./quickstart-azure-app-configuration-create.md#create-an-app-configuration-store).
72-
73-
> [!NOTE]
74-
> 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.
75-
>
76-
77-
## Create a chat completion configuration
78-
79-
In this section, you will create a chat completion configuration in Azure Portal using the GPT-4o model as an example.
80-
81-
1. In Azure portal, navigate to your App configuration store. From the **Operations** menu, select **Configuration explorer** > **Create**. Then select **AI configuration**.
82-
83-
1. Specify the following values:
84-
- **Key**: Type **ChatLLM:Model**.
85-
- **Label**: Leave this value blank.
86-
- **Model**: Select **gpt-4o**.
87-
88-
> [!div class="mx-imgBorder"]
89-
> ![Screen shot shows the create new AI configuration form](./media/create-ai-chat-completion-config.png)
90-
91-
1. Leave the rest of the values as default then select **Apply**.
92-
9341
## Create an Azure OpenAI resource
9442

9543
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:
@@ -105,10 +53,10 @@ In this section, you will create a chat completion configuration in Azure Portal
10553

10654
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).
10755

108-
| **Key** | **Value** |
109-
|---------------------|---------------------------------------------------------------|
110-
| _ChatLLM:Endpoint_ | _Paste the resource endpoint you copied in the previous step_ |
111-
56+
| **Key** | **Value** |
57+
|---------------------|----------------------------------------------------------------|
58+
| _ChatLLM:Endpoint_ | _Paste the resource endpoint you copied in the previous step_ |
59+
11260
1. Continue to the following instructions to implement the chat completion configuration into your application for the language or platform you are using.
11361

11462
- [.NET](./quickstart-chat-completion-dotnet.md)
@@ -119,6 +67,7 @@ In this section, you will create a chat completion configuration in Azure Portal
11967
> - In your App Configuration store, add a new Key Vault reference with the **Key** set to `ChatLLM:ApiKey` and the **Value** set as a Key Vault reference.
12068
> - For step-by-step guidance, see [Add a Key Vault reference to App Configuration](./use-key-vault-references-dotnet-core.md#add-a-key-vault-reference-to-app-configuration).
12169
70+
12271
## Next steps
12372

12473
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)