Skip to content

Commit c44cb44

Browse files
committed
fix
1 parent cad1a9b commit c44cb44

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to generate chat completions with Azure AI Foundry Models
55
manager: scottpolly
66
author: msakande
77
reviewer: santiagxf
8-
ms.service: azure-ai-model-inference
8+
ms.service: azure-ai-model-../includes/use-chat-completions
99
ms.topic: how-to
1010
ms.date: 1/21/2025
1111
ms.author: mopeakande
@@ -19,35 +19,35 @@ zone_pivot_groups: azure-ai-inference-samples
1919

2020
::: zone pivot="programming-language-python"
2121

22-
[!INCLUDE [python](inference/python.md)]
22+
[!INCLUDE [python](../includes/use-chat-completions/python.md)]
2323

2424
::: zone-end
2525

2626

2727
::: zone pivot="programming-language-javascript"
2828

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

3131
::: zone-end
3232

3333

3434
::: zone pivot="programming-language-java"
3535

36-
[!INCLUDE [java](inference/java.md)]
36+
[!INCLUDE [java](../includes/use-chat-completions/java.md)]
3737

3838
::: zone-end
3939

4040

4141
::: zone pivot="programming-language-csharp"
4242

43-
[!INCLUDE [csharp](inference/csharp.md)]
43+
[!INCLUDE [csharp](../includes/use-chat-completions/csharp.md)]
4444

4545
::: zone-end
4646

4747

4848
::: zone pivot="programming-language-rest"
4949

50-
[!INCLUDE [rest](inference/rest.md)]
50+
[!INCLUDE [rest](../includes/use-chat-completions/rest.md)]
5151

5252
::: zone-end
5353

@@ -57,4 +57,4 @@ zone_pivot_groups: azure-ai-inference-samples
5757
* [Use embeddings models](use-embeddings.md)
5858
* [Use image embeddings models](use-image-embeddings.md)
5959
* [Use reasoning models](use-chat-reasoning.md)
60-
* [Azure AI Foundry Models API](.././reference/reference-model-inference-api.md)
60+
* [Azure AI Foundry Models API](.././reference/reference-model-../includes/use-chat-completions-api.md)

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

Whitespace-only changes.

articles/ai-foundry/model-inference/includes/use-chat-completions/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

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

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 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
## Use chat completions
3232

articles/ai-foundry/model-inference/includes/use-chat-completions/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 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/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

0 commit comments

Comments
 (0)