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/azure-app-configuration/howto-chat-completion-config.md
+5-56Lines changed: 5 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,58 +38,6 @@ In this section, you will create a chat completion configuration in Azure Portal
38
38
39
39
1. Leave the rest of the values as default then select **Apply**.
40
40
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`.
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
-
> 
90
-
91
-
1. Leave the rest of the values as default then select **Apply**.
92
-
93
41
## Create an Azure OpenAI resource
94
42
95
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:
@@ -105,10 +53,10 @@ In this section, you will create a chat completion configuration in Azure Portal
105
53
106
54
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).
|_ChatLLM:Endpoint_|_Paste the resource endpoint you copied in the previous step_|
59
+
112
60
1. Continue to the following instructions to implement the chat completion configuration into your application for the language or platform you are using.
113
61
114
62
-[.NET](./quickstart-chat-completion-dotnet.md)
@@ -119,6 +67,7 @@ In this section, you will create a chat completion configuration in Azure Portal
119
67
> - 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.
120
68
> - 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).
0 commit comments