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/concept-ai-configuration.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,8 @@ Chat completion is an AI capability that produces human-like dialogue responses
46
46
| Anthropic | Claude 3.7 Sonnet |
47
47
| Google | Gemini 2.5 Pro |
48
48
| DeepSeek | DeepSeek-R1 |
49
+
| xAI | Grok-3 |
50
+
| xAI | Grok-3 Mini |
49
51
50
52
Azure OpenAI Service supports a diverse set of models from OpenAI. For more information, see [Azure OpenAI Service models](/azure/ai-services/openai/concepts/models). To learn more about models from Anthropic, refer to the [Claude models documentation](https://docs.anthropic.com/docs/about-claude/models/overview).
51
53
For more details about models provided by Google, see the [Gemini models documentation](https://ai.google.dev/gemini-api/docs/models).
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/howto-chat-completion-config.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,9 @@ In this section, you create a chat completion configuration in Azure portal usin
26
26
1. In Azure portal, navigate to your App configuration store. From the **Operations** menu, select **Configuration explorer** > **Create**, and then select **AI configuration**.
27
27
28
28
1. Specify the following values:
29
-
-**Key**: Type **ChatApp:Model**.
29
+
-**Key**: Type **ChatApp:ChatCompletion**.
30
30
-**Label**: Leave this value blank.
31
31
-**Model**: Select **gpt-4o**.
32
-
-**Message**: Add a new message.
33
-
-**Role**: Select **user**
34
-
-**Content**: Type "What is the capital of France?"
35
32
36
33
> [!div class="mx-imgBorder"]
37
34
> 
@@ -40,7 +37,7 @@ In this section, you create a chat completion configuration in Azure portal usin
40
37
41
38
## Add model connection configuration
42
39
43
-
You successfully added your chat completion configuration named **ChatApp:Model** in the previous section. In this section, you 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.
40
+
You successfully added your chat completion configuration named **ChatApp:ChatCompletion** in the previous section. In this section, you 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.
44
41
45
42
> [!NOTE]
46
43
> 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.
@@ -270,7 +303,7 @@ In this guide, you build an AI chat application and iterate on the prompt using
270
303
});
271
304
}
272
305
273
-
internal class ModelConfiguration
306
+
internal class ChatCompletionConfiguration
274
307
{
275
308
[ConfigurationKeyName("model")]
276
309
public string? Model { get; set; }
@@ -326,26 +359,17 @@ In this guide, you build an AI chat application and iterate on the prompt using
326
359
You should see the following output:
327
360
328
361
```Output
329
-
system: You are a helpful assistant.
330
-
user: What is the capital of France ?
331
-
AI response: The capital of France is **Paris**.
332
-
Press Enter to continue...
333
-
362
+
Chat started! What's on your mind?
334
363
```
335
364
336
-
1. In Azure portal, select the App Configuration store instance that you created. From the **Operations** menu, select **Configuration explorer** and select the **ChatApp:Model** key. Update the value of the Messages property:
365
+
1. In Azure portal, select the App Configuration store instance that you created. From the **Operations** menu, select **Configuration explorer** and select the **ChatApp:ChatCompletion** key. Update the value of the Messages property:
337
366
- Role: **system**
338
-
- Content: "You are a cheerful tour guide".
367
+
- Content: "You are a pirate and your name is Eddy."
339
368
340
-
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.
369
+
1. Type your message when prompted with "You:". Be sure to 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
341
370
342
371
```Output
343
-
system: You are a cheerful tour guide
344
-
user: What is the capital of France ?
345
-
AI response: Oh là là! The capital of France is the magnificent **Paris**!
346
-
Known as the "City of Light" (*La Ville Lumière*), it's famous for its romantic ambiance,
347
-
iconic landmarks like the Eiffel Tower, the Louvre Museum, and Notre-Dame Cathedral,
348
-
as well as its delicious pastries and charming cafés.
349
-
Have you ever been, or is it on your travel bucket list? 😊✨
350
-
Press Enter to continue...
372
+
Chat started! What's on your mind?
373
+
You: Hello, what is your name ?
374
+
AI: Ahoy, matey! Me name be Captain Eddy, the most fearsome pirate to ever sail the seven seas! What be yer name, landlubber?
0 commit comments