Skip to content

Commit ef4e395

Browse files
authored
Merge branch 'main' into upd-aif-ext-042925
2 parents f335047 + 412e702 commit ef4e395

37 files changed

+2128
-553
lines changed

articles/ai-foundry/how-to/develop/ai-template-get-started.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-ai-foundry
77
ms.custom:
88
- ignite-2024
99
ms.topic: how-to
10-
ms.date: 02/20/2025
10+
ms.date: 04/28/2025
1111
ms.reviewer: varundua
1212
ms.author: sgilley
1313
author: sdgilley
@@ -38,7 +38,6 @@ Available templates include:
3838
1. On the left pane, select **Templates** (preview).
3939
1. Find the solution template you want to use.
4040
1. Select **Open in Github** to view the entire sample application.
41-
1. Or, clone the repository to your local machine with the provided command.
4241
1. In some cases, you can also view a step-by-step tutorial that explains the AI code.
4342

4443
## Explore the sample application
@@ -56,13 +55,6 @@ Instructions vary by sample, but most include how to:
5655

5756
The README also includes information about the application, such as the use case, architecture, and pricing information.
5857

59-
> [!TIP]
60-
> Discover more templates in our curated [AZD templates collection](https://azure.github.io/ai-app-templates). Deploy them with a single command ```azd up``` using the [Azure Developer CLI](/azure/developer/azure-developer-cli/).
61-
62-
63-
64-
6558
## Related content
6659

6760
- [Get started building a chat app using the Azure AI Foundry SDK](../../quickstarts/get-started-code.md)
68-
- [Develop AI apps using Azure AI services](/azure/developer/ai/)

articles/ai-foundry/how-to/develop/get-started-projects-vs-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-ai-foundry
77
content_well_notification:
88
- AI-contribution
99
ms.topic: how-to
10-
ms.date: 04/21/2025
10+
ms.date: 04/28/2025
1111
ms.reviewer: erichen
1212
ms.author: johalexander
1313
author: ms-johnalex
@@ -122,7 +122,7 @@ When you open a project in the Azure AI Foundry Extension, that project is set a
122122

123123
Switch your default project by following these steps:
124124

125-
1. Right-click on your deployed model and select the **Switch Default Project in Azure Extension** option.
125+
1. Right-click on the Azure AI Foundry Project and select the **Switch Default Project in Azure Extension** option.
126126

127127
1. In the top center, select the Azure AI Foundry Project you want to use from the list of available projects and press Enter.
128128

articles/ai-foundry/how-to/develop/vs-code-agents.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: johalexander
1313
author: ms-johnalex
1414
---
1515

16-
# Work with Azure AI Agent Service in Visual Studio Code
16+
# Work with Azure AI Agent Service in Visual Studio Code (Preview)
1717

1818
After you [get started with the AI Foundry the VS Code extension](./get-started-projects-vs-code.md), you can work with [Azure AI Agent Service](/azure/ai-services/agents/overview). Agents are "smart" microservices that:
1919

@@ -25,6 +25,8 @@ Agents combine AI models with tools to access and interact with your data.
2525

2626
Azure AI Foundry developers can stay productive by developing, testing, and deploying agents in the familiar and powerful environment of VS Code.
2727

28+
[!INCLUDE [feature-preview](../../includes/feature-preview.md)]
29+
2830
### Create and edit Azure AI Agents within the designer view
2931

3032
Follow these steps to create an Azure AI Agent:
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: How to use structured outputs for chat models
3+
titleSuffix: Azure AI Foundry
4+
description: Learn how to use structure outputs with chat completions with Azure AI model inference
5+
manager: scottpolly
6+
author: msakande
7+
reviewer: santiagxf
8+
ms.service: azure-ai-model-inference
9+
ms.topic: how-to
10+
ms.date: 4/29/2025
11+
ms.author: mopeakande
12+
ms.reviewer: fasantia
13+
ms.custom: references_regions
14+
zone_pivot_groups: azure-ai-inference-samples
15+
---
16+
17+
# How to use structured outputs for chat models
18+
19+
20+
::: zone pivot="programming-language-python"
21+
22+
[!INCLUDE [python](../includes/use-structured-outputs/python.md)]
23+
::: zone-end
24+
25+
26+
::: zone pivot="programming-language-javascript"
27+
28+
[!INCLUDE [javascript](../includes/use-structured-outputs/javascript.md)]
29+
::: zone-end
30+
31+
32+
::: zone pivot="programming-language-java"
33+
34+
[!INCLUDE [java](../includes/use-structured-outputs/java.md)]
35+
::: zone-end
36+
37+
38+
::: zone pivot="programming-language-csharp"
39+
40+
[!INCLUDE [csharp](../includes/use-structured-outputs/csharp.md)]
41+
::: zone-end
42+
43+
44+
::: zone pivot="programming-language-rest"
45+
46+
[!INCLUDE [rest](../includes/use-structured-outputs/rest.md)]
47+
::: zone-end
48+
49+
## Related content
50+
51+
* [Use embeddings models](use-embeddings.md)
52+
* [Use image embeddings models](use-image-embeddings.md)
53+
* [Use reasoning models](use-chat-reasoning.md)
54+
* [Azure AI Model Inference API](.././reference/reference-model-inference-api.md)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: How to use structured outputs for chat models with Azure AI model inference
3+
titleSuffix: Azure AI Foundry
4+
description: Learn how to use structured outputs with chat completions with Azure AI model inference
5+
manager: scottpolly
6+
author: msakande
7+
reviewer: santiagxf
8+
ms.service: azure-ai-model-inference
9+
ms.topic: how-to
10+
ms.date: 1/21/2025
11+
ms.author: mopeakande
12+
ms.reviewer: fasantia
13+
zone_pivot_groups: azure-ai-inference-samples
14+
---
15+
16+
> [!NOTE]
17+
> This example is not available in the selected language.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
manager: nitinme
3+
ms.service: azure-ai-model-inference
4+
ms.topic: include
5+
ms.date: 1/31/2025
6+
ms.author: fasantia
7+
author: santiagxf
8+
---
9+
10+
[!INCLUDE [Feature preview](~/reusable-content/ce-skilling/azure/includes/ai-studio/includes/feature-preview.md)]
11+
12+
When working with software, it's more challenging to parse free-form text outputs coming from language models. Structured outputs, like JSON, provide a clear format that software routines can read and process. This article explains how to use structured outputs to generate specific JSON schemas with the chat completions API with models deployed to Azure AI model inference in Azure AI services.
13+
14+
Typical scenarios of structured outputs include:
15+
16+
> [!div class="checklist"]
17+
> * You need to extract specific information from a prompt and such information can be described as an schema with specific keys and types.
18+
> * You need to parse information contained in the prompts.
19+
> * You are using the model to control a workflow in your application where you can benefit from more rigid structures.
20+
> * You are using the model as a zero-shot or few-shot learner.
21+
22+
## Prerequisites
23+
24+
To use structured outputs with chat completions models in your application, you need:
25+
26+
[!INCLUDE [how-to-prerequisites](../how-to-prerequisites.md)]
27+
28+
* A chat completions model deployment with JSON and structured outputs support. If you don't have one read [Add and configure models to Azure AI services](../../how-to/create-model-deployments.md).
29+
30+
* You can check which models support structured outputs by checking the column **Response format** in the [Models](../../concepts/models.md) article.
31+
32+
* This article uses `gpt-4o`.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: How to use structured outputs for chat models with Azure AI model inference
3+
titleSuffix: Azure AI Foundry
4+
description: Learn how to use structured outputs with chat completions with Azure AI model inference
5+
manager: scottpolly
6+
author: msakande
7+
reviewer: santiagxf
8+
ms.service: azure-ai-model-inference
9+
ms.topic: how-to
10+
ms.date: 1/21/2025
11+
ms.author: mopeakande
12+
ms.reviewer: fasantia
13+
zone_pivot_groups: azure-ai-inference-samples
14+
---
15+
16+
> [!NOTE]
17+
> This example is not available in the selected language.

0 commit comments

Comments
 (0)