Skip to content

Commit b250c50

Browse files
author
Maryanne Gichohi
committed
Remove JS and python tutorial and address comments
1 parent 1bd72f8 commit b250c50

8 files changed

+183
-528
lines changed

articles/azure-app-configuration/concept-ai-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ For more details about models provided by Google, see the [Gemini models documen
5252

5353
## Next steps
5454

55-
To learn more about the AI configuration, continue to the following document:
55+
Continue to the following instructions to use AI configuration in your application:
5656

5757
> [!div class="nextstepaction"]
58-
> [Getting started with Chat completion configuration](./howto-chat-completion-config.md)
58+
> [Chat completion configuration](./howto-chat-completion-config.md)

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

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ author: mgichohi
77
ms.author: mgichohi
88
ms.topic: how-to
99
ms.date: 04/20/2025
10+
ms.collection: ce-skilling-ai-copilot
1011
---
1112

12-
# Chat Completion Configuration in Azure App Configuration
13+
# Chat Completion configuration in Azure App Configuration
1314

1415
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. Chat completion configuration allows you to define and manage how AI models generate responses in your application. A simple configuration includes the model selection and basic prompts. Azure OpenAI chat models support several [configuration options](/azure/ai-services/openai/reference#request-body-2) that control how responses are generated.
1516

@@ -23,7 +24,7 @@ Chat completion is an AI capability that enables models to generate conversation
2324
>
2425
2526
## Create a chat completion configuration
26-
27+
2728
In this section, we will create a chat completion configuration in Azure Portal using the GPT-4o model as our example.
2829

2930
1. In Azure portal, navigate to your App configuration store. From the **Operations** menu, select **Configuration explorer** > **Create**. Then select **AI configuration**.
@@ -32,38 +33,24 @@ In this section, we will create a chat completion configuration in Azure Portal
3233
- **Key**: Type **ChatLLM:Model**.
3334
- **Label**: Leave this value blank.
3435
- **Model**: Select **gpt-4o**.
35-
- **Messages**:
36-
1. The **System** role is added by default. Update the content to "You're from the 1800s. Express amazement at modern inventions"
37-
1. Select **User** from the Role dropdown
38-
1. In the **Content** text field, type "Tell me about smartphones in 20 words."
3936

4037
> [!div class="mx-imgBorder"]
4138
> ![Screen shot shows the create new AI configuration form](./media/create-ai-chat-completion-config.png)
4239
4340
1. To view the JSON representation of the chat completion configuration, switch to the **JSON** tab:
4441
> [!div class="mx-imgBorder"]
4542
> ![Screen shot shows the create new AI configuration form JSON tab](./media/create-ai-chat-completion-config-json.png)
46-
47-
1. Leave the rest of the values as default then select **Apply**.
43+
44+
1. Leave the rest of the values as default then select **Apply**.
4845

4946
## Create and deploy an Azure OpenAI service resource
5047

51-
1. [Create an Azure OpenAI service resource](/azure/ai-services/openai/how-to/create-resource?pivots=web-portal#create-a-resource)
52-
53-
1. Sign in to [Azure AI Foundry Portal](https://ai.azure.com/)
54-
55-
1. Choose the subscription and the Azure OpenAI resource to work with, and select **Use resource**
48+
1. [Create and deploy an Azure OpenAI service resource](/azure/ai-services/openai/how-to/create-resource) and configure the following fields:
5649

57-
1. Under **Management** select **Deployments**.
58-
59-
1. Select **Create new deployment** and configure the following fields:
60-
- **Select a model** : gpt-4o
61-
- **Deployment name**: gpt-4o
62-
63-
1. Leave the **Deployment type** and **Advanced options** set to default and select **Create**.
64-
65-
1. The deployments table shows a new entry that corresponds to your newly created model.
66-
When the deployment completes, your model deployment status changes to _succeeded_.
50+
| Field | value |
51+
|-----------------|---------|
52+
| Select a model | gpt-4o |
53+
| Deployment name | gpt-4o |
6754

6855
1. Select the new model you just deployed in the deployment table, locate the **Endpoint** section and copy the model endpoint url in the format `"https://<open-ai-resource-name>.openai.azure.com"`.
6956

@@ -74,16 +61,11 @@ When the deployment completes, your model deployment status changes to _succeede
7461
- **Label**: Leave this value blank.
7562
- **Value**: Paste the model endpoint we copied in the previous step.
7663

77-
Leave the rest of the values as default then select **Apply**.
78-
79-
> [!div class="mx-imgBorder"]
80-
> ![Screen shot shows the create model endpoint form](./media/create-model-endpoint.png)
64+
Leave the **Label** and the **Content type** with their default values then select **Apply**.
8165

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

8468
- [.NET](./quickstart-chat-completion-dotnet.md)
85-
- [Node.js](./quickstart-chat-completion-javascript.md)
86-
- [Python](./quickstart-chat-completion-python.md)
8769

8870
## Next steps
8971

-16.6 KB
Loading
-10.6 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)