Skip to content

Commit 90f324b

Browse files
committed
merge
2 parents d69ffcb + e9d65f6 commit 90f324b

File tree

17 files changed

+81
-44
lines changed

17 files changed

+81
-44
lines changed

articles/ai-foundry/model-inference/faq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ sections:
1717
- name: General
1818
questions:
1919
- question: |
20-
What's the difference between Azure OpenAI and Foundry Models?
20+
What's the difference between Azure OpenAI and Azure AI Foundry Models?
2121
answer: |
22-
Azure OpenAI gives customers access to advanced language models from OpenAI. Foundry Models extends such capability giving customers access to all the flagship models in Azure AI Foundry under the same service, endpoint, and credentials. It includes Azure OpenAI, Cohere, Mistral AI, Meta Llama, AI21 labs, etc. Customers can seamlessly switch between models without changing their code.
22+
Azure OpenAI gives customers access to advanced language models from OpenAI. Azure AI Foundry Models extends such capability giving customers access to all the flagship models in Azure AI Foundry under the same service, endpoint, and credentials. It includes Azure OpenAI, Cohere, Mistral AI, Meta Llama, AI21 labs, etc. Customers can seamlessly switch between models without changing their code.
2323
2424
Azure OpenAI is included in the Models Sold Directly by Azure family in Foundry Models.
2525
- question: |

articles/ai-foundry/model-inference/how-to/use-chat-completions.md

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,26 @@ ms.date: 1/21/2025
1111
ms.author: mopeakande
1212
ms.reviewer: fasantia
1313
ms.custom: generated
14-
zone_pivot_groups: azure-ai-inference-samples
14+
zone_pivot_groups: azure-ai-foundry-models-samples
1515
---
1616

1717
# How to generate chat completions with Azure AI Foundry Models
1818

1919

20-
::: zone pivot="programming-language-python"
20+
::: zone pivot="api-openai"
2121

22-
[!INCLUDE [python](../includes/use-chat-completions/python.md)]
23-
::: zone-end
24-
25-
26-
::: zone pivot="programming-language-javascript"
22+
[!INCLUDE [openai](../includes/use-chat-completions/openai.md)]
2723

28-
[!INCLUDE [javascript](../includes/use-chat-completions/javascript.md)]
2924
::: zone-end
3025

3126

32-
::: zone pivot="programming-language-java"
33-
34-
[!INCLUDE [java](../includes/use-chat-completions/java.md)]
35-
::: zone-end
27+
::: zone pivot="api-inference"
3628

29+
[!INCLUDE [inference](../includes/use-chat-completions/inference.md)]
3730

38-
::: zone pivot="programming-language-csharp"
39-
40-
[!INCLUDE [csharp](../includes/use-chat-completions/csharp.md)]
4131
::: zone-end
4232

4333

44-
::: zone pivot="programming-language-rest"
45-
46-
[!INCLUDE [rest](../includes/use-chat-completions/rest.md)]
47-
::: zone-end
48-
4934
## Related content
5035

5136
* [Use embeddings models](use-embeddings.md)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
manager: scottpolly
3+
author: msakande
4+
reviewer: santiagxf
5+
ms.date: 1/21/2025
6+
ms.author: mopeakande
7+
ms.reviewer: fasantia
8+
zone_pivot_groups: azure-ai-inference-samples
9+
---
10+
11+
::: zone pivot="programming-language-python"
12+
13+
[!INCLUDE [python](inference/python.md)]
14+
15+
::: zone-end
16+
17+
18+
::: zone pivot="programming-language-javascript"
19+
20+
[!INCLUDE [javascript](inference/javascript.md)]
21+
22+
::: zone-end
23+
24+
25+
::: zone pivot="programming-language-java"
26+
27+
[!INCLUDE [java](inference/java.md)]
28+
29+
::: zone-end
30+
31+
32+
::: zone pivot="programming-language-csharp"
33+
34+
[!INCLUDE [csharp](inference/csharp.md)]
35+
36+
::: zone-end
37+
38+
39+
::: zone pivot="programming-language-rest"
40+
41+
[!INCLUDE [rest](inference/rest.md)]
42+
43+
::: zone-end

articles/ai-foundry/model-inference/includes/use-chat-completions/csharp.md renamed to articles/ai-foundry/model-inference/includes/use-chat-completions/inference/csharp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ This article explains how to use chat completions API with models deployed in Az
2222

2323
To use chat completion models in your application, you need:
2424

25-
[!INCLUDE [how-to-prerequisites](../how-to-prerequisites.md)]
25+
[!INCLUDE [how-to-prerequisites](../../how-to-prerequisites.md)]
2626

27-
[!INCLUDE [how-to-prerequisites-csharp](../how-to-prerequisites-csharp.md)]
27+
[!INCLUDE [how-to-prerequisites-csharp](../../how-to-prerequisites-csharp.md)]
2828

29-
* A chat completions model deployment. If you don't have one, read [Add and configure Foundry Models](../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
29+
* A chat completions model deployment. If you don't have one, read [Add and configure Foundry Models](../../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
3030

3131
* This example uses `mistral-large-2407`.
3232

articles/ai-foundry/model-inference/includes/use-chat-completions/java.md renamed to articles/ai-foundry/model-inference/includes/use-chat-completions/inference/java.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ This article explains how to use chat completions API with models deployed in Az
2222

2323
To use chat completion models in your application, you need:
2424

25-
[!INCLUDE [how-to-prerequisites](../how-to-prerequisites.md)]
25+
[!INCLUDE [how-to-prerequisites](../../how-to-prerequisites.md)]
2626

27-
[!INCLUDE [how-to-prerequisites-java](../how-to-prerequisites-java.md)]
27+
[!INCLUDE [how-to-prerequisites-java](../../how-to-prerequisites-java.md)]
2828

29-
* A chat completions model deployment. If you don't have one, read [Add and configure Foundry Models](../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
29+
* A chat completions model deployment. If you don't have one, read [Add and configure Foundry Models](../../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
3030

3131
* This example uses `mistral-large-2407`.
3232

articles/ai-foundry/model-inference/includes/use-chat-completions/javascript.md renamed to articles/ai-foundry/model-inference/includes/use-chat-completions/inference/javascript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ This article explains how to use chat completions API with models deployed in Az
2222

2323
To use chat completion models in your application, you need:
2424

25-
[!INCLUDE [how-to-prerequisites](../how-to-prerequisites.md)]
25+
[!INCLUDE [how-to-prerequisites](../../how-to-prerequisites.md)]
2626

27-
[!INCLUDE [how-to-prerequisites-javascript](../how-to-prerequisites-javascript.md)]
27+
[!INCLUDE [how-to-prerequisites-javascript](../../how-to-prerequisites-javascript.md)]
2828

29-
* A chat completions model deployment. If you don't have one, read [Add and configure models to Azure AI services](../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
29+
* A chat completions model deployment. If you don't have one, read [Add and configure Foundry Models](../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
3030

3131
## Use chat completions
3232

articles/ai-foundry/model-inference/includes/use-chat-completions/python.md renamed to articles/ai-foundry/model-inference/includes/use-chat-completions/inference/python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ This article explains how to use chat completions API with models deployed in Az
2222

2323
To use chat completion models in your application, you need:
2424

25-
[!INCLUDE [how-to-prerequisites](../how-to-prerequisites.md)]
25+
[!INCLUDE [how-to-prerequisites](../../how-to-prerequisites.md)]
2626

27-
[!INCLUDE [how-to-prerequisites-python](../how-to-prerequisites-python.md)]
27+
[!INCLUDE [how-to-prerequisites-python](../../how-to-prerequisites-python.md)]
2828

29-
* A chat completions model deployment. If you don't have one, read [Add and configure models to Azure AI services](../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
29+
* A chat completions model deployment. If you don't have one, read [Add and configure Foundry Models](../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
3030

3131
* This example uses `mistral-large-2407`.
3232

articles/ai-foundry/model-inference/includes/use-chat-completions/rest.md renamed to articles/ai-foundry/model-inference/includes/use-chat-completions/inference/rest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ This article explains how to use chat completions API with models deployed in Az
2222

2323
To use chat completion models in your application, you need:
2424

25-
[!INCLUDE [how-to-prerequisites](../how-to-prerequisites.md)]
25+
[!INCLUDE [how-to-prerequisites](../../how-to-prerequisites.md)]
2626

27-
* A chat completions model deployment. If you don't have one, read [Add and configure Foundry Models](../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
27+
* A chat completions model deployment. If you don't have one, read [Add and configure Foundry Models](../../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
2828

2929
* This example uses `mistral-large-2407`.
3030

@@ -46,7 +46,7 @@ Content-Type: application/json
4646
Authorization: Bearer <token>
4747
```
4848

49-
Using Microsoft Entra ID might require extra configuration in your resource to grant access. Learn how to [configure key-less authentication with Microsoft Entra ID](../../how-to/configure-entra-id.md).
49+
Using Microsoft Entra ID might require extra configuration in your resource to grant access. Learn how to [configure key-less authentication with Microsoft Entra ID](../../../how-to/configure-entra-id.md).
5050

5151
### Create a chat completion request
5252

articles/ai-foundry/model-inference/includes/use-chat-completions/openai.md

Whitespace-only changes.

articles/ai-foundry/model-inference/includes/use-chat-multi-modal/csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To use chat completion models in your application, you need:
2626

2727
[!INCLUDE [how-to-prerequisites-csharp](../how-to-prerequisites-csharp.md)]
2828

29-
* A chat completions model deployment. If you don't have one, read [Add and configure models to Azure AI services](../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
29+
* A chat completions model deployment. If you don't have one, read [Add and configure Foundry Models](../../how-to/create-model-deployments.md) to add a chat completions model to your resource.
3030

3131
* This example uses `phi-4-multimodal-instruct`.
3232

0 commit comments

Comments
 (0)