Skip to content

Commit 28e602c

Browse files
authored
Merge pull request #4686 from msakande/merge-main-into-release-branch
Dirty PR for release branch merge conflict with Main
2 parents c2dc5f8 + 03326c1 commit 28e602c

File tree

67 files changed

+2084
-620
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2084
-620
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@
9292
"branch": "main",
9393
"branch_mapping": {}
9494
},
95+
{
96+
"path_to_root": "azure-functions-ai-services-agent-javascript",
97+
"url": "https://github.com/Azure-Samples/azure-functions-ai-services-agent-javascript",
98+
"branch": "main",
99+
"branch_mapping": {}
100+
},
95101
{
96102
"path_to_root": "samples-cognitive-services-speech-sdk",
97103
"url": "https://github.com/Azure-Samples/cognitive-services-speech-sdk",

articles/ai-foundry/concepts/models-featured.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Mistral AI offers two categories of models, namely:
262262
| [Mistral-Large-2411](https://ai.azure.com/explore/models/Mistral-Large-2411/version/2/registry/azureml-mistral) | [chat-completion](../model-inference/how-to/use-chat-completions.md?context=/azure/ai-foundry/context/context) | - **Input:** text (128,000 tokens) <br /> - **Output:** text (4,096 tokens) <br /> - **Tool calling:** Yes <br /> - **Response formats:** Text, JSON |
263263
| [Mistral-large-2407](https://ai.azure.com/explore/models/Mistral-large-2407/version/1/registry/azureml-mistral) <br /> (deprecated) | [chat-completion](../model-inference/how-to/use-chat-completions.md?context=/azure/ai-foundry/context/context) | - **Input:** text (131,072 tokens) <br /> - **Output:** text (4,096 tokens) <br /> - **Tool calling:** Yes <br /> - **Response formats:** Text, JSON |
264264
| [Mistral-large](https://ai.azure.com/explore/models/Mistral-large/version/1/registry/azureml-mistral) <br /> (deprecated) | [chat-completion](../model-inference/how-to/use-chat-completions.md?context=/azure/ai-foundry/context/context) | - **Input:** text (32,768 tokens) <br /> - **Output:** text (4,096 tokens) <br /> - **Tool calling:** Yes <br /> - **Response formats:** Text, JSON |
265-
| [Mistral-OCR-2503](https://aka.ms/aistudio/landing/mistral-ocr-2503) | image to text | - **Input:** image or PDF pages (1,000 pages, max 50MB PDF file) <br> - **Output:** text <br /> - **Tool calling:** No <br /> - **Response formats:** Text, JSON, Markdown |
265+
| [Mistral-OCR-2503](https://aka.ms/aistudio/landing/mistral-ocr-2503) | [image to text](../how-to/use-image-models.md) | - **Input:** image or PDF pages (1,000 pages, max 50MB PDF file) <br> - **Output:** text <br /> - **Tool calling:** No <br /> - **Response formats:** Text, JSON, Markdown |
266266
| [Mistral-small-2503](https://aka.ms/aistudio/landing/mistral-small-2503) | [chat-completion (with images)](../model-inference/how-to/use-chat-multi-modal.md?context=/azure/ai-foundry/context/context) | - **Input:** text and images (131,072 tokens), <br> image-based tokens are 16px x 16px <br> blocks of the original images <br /> - **Output:** text (4,096 tokens) <br /> - **Tool calling:** Yes <br /> - **Response formats:** Text, JSON |
267267
| [Mistral-small](https://ai.azure.com/explore/models/Mistral-small/version/1/registry/azureml-mistral) | [chat-completion](../model-inference/how-to/use-chat-completions.md?context=/azure/ai-foundry/context/context) | - **Input:** text (32,768 tokens) <br /> - **Output:** text (4,096 tokens) <br /> - **Tool calling:** Yes <br /> - **Response formats:** Text, JSON |
268268

articles/ai-foundry/how-to/configure-private-link.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: scottpolly
66
ms.service: azure-ai-foundry
77
ms.custom: ignite-2023, devx-track-azurecli, build-2024, ignite-2024
88
ms.topic: how-to
9-
ms.date: 04/30/2025
9+
ms.date: 05/06/2025
1010
ms.reviewer: meerakurup
1111
ms.author: larryfr
1212
author: Blackmist
@@ -359,12 +359,9 @@ See [Azure Machine Learning custom DNS](/azure/machine-learning/how-to-custom-dn
359359
360360
If you need to configure custom DNS server without DNS forwarding, use the following patterns for the required A records.
361361
362-
* `<AI-STUDIO-GUID>.workspace.<region>.cert.api.azureml.ms`
363-
* `<AI-PROJECT-GUID>.workspace.<region>.cert.api.azureml.ms`
364-
* `<AI-STUDIO-GUID>.workspace.<region>.api.azureml.ms`
365-
* `<AI-PROJECT-GUID>.workspace.<region>.api.azureml.ms`
366-
* `ml-<workspace-name, truncated>-<region>-<AI-STUDIO-GUID>.<region>.notebooks.azure.net`
367-
* `ml-<workspace-name, truncated>-<region>-<AI-PROJECT-GUID>.<region>.notebooks.azure.net`
362+
* `<AI-HUB-GUID>.workspace.<region>.cert.api.azureml.ms`
363+
* `<AI-HUB-GUID>.workspace.<region>.api.azureml.ms`
364+
* `ml-<workspace-name, truncated>-<region>-<AI-HUB-GUID>.<region>.notebooks.azure.net`
368365
369366
> [!NOTE]
370367
> The workspace name for this FQDN might be truncated. Truncation is done to keep `ml-<workspace-name, truncated>-<region>-<workspace-guid>` at 63 characters or less.
@@ -374,13 +371,15 @@ If you need to configure custom DNS server without DNS forwarding, use the follo
374371
> * Compute instances can be accessed only from within the virtual network.
375372
> * The IP address for this FQDN is **not** the IP of the compute instance. Instead, use the private IP address of the workspace private endpoint (the IP of the `*.api.azureml.ms` entries.)
376373
377-
* `<instance-name>.<region>.instances.azureml.ms` - Only used by the `az ml compute connect-ssh` command to connect to computers in a managed virtual network. Not needed if you aren't using a managed network or SSH connections.
374+
* `<instance-name>-22.<region>.instances.azureml.ms` - Only used by the `az ml compute connect-ssh` command to connect to computers in a managed virtual network. Not needed if you aren't using a managed network or SSH connections.
378375
379376
* `<managed online endpoint name>.<region>.inference.ml.azure.com` - Used by managed online endpoints
380377
* `models.ai.azure.com` - Used for deploying Models as a Service
381378
382379
To find the private IP addresses for your A records, see the [Azure Machine Learning custom DNS](/azure/machine-learning/how-to-custom-dns#find-the-ip-addresses) article.
383-
To check AI-PROJECT-GUID, go to the Azure portal, select your project, settings, properties, and the workspace ID is displayed.
380+
381+
> [!NOTE]
382+
> Project workspaces reuse the FQDNs of the associated hub workspaces. There is no reason to configure separate entries for the project workspace GUIDs.
384383
385384
## Limitations
386385

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

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ manager: mcleans
66
ms.service: azure-ai-foundry
77
content_well_notification:
88
- AI-contribution
9+
ai-usage: ai-assisted
910
ms.topic: how-to
10-
ms.date: 04/28/2025
11+
ms.date: 05/07/2025
1112
ms.reviewer: erichen
1213
ms.author: johalexander
1314
author: ms-johnalex
@@ -30,7 +31,7 @@ With Azure AI Foundry, you can:
3031

3132
With the Azure AI Foundry for Visual Studio Code extension, you can accomplish much of this workflow directly from Visual Studio Code. It also comes with other features, such as code templates, playgrounds, and integration with other VS Code extensions and features.
3233

33-
This article shoes you how to quickly get started using the features of the Azure AI Foundry for Visual Studio Code extension.
34+
This article shows you how to quickly get started using the features of the Azure AI Foundry for Visual Studio Code extension.
3435

3536
[!INCLUDE [feature-preview](../../includes/feature-preview.md)]
3637

@@ -298,14 +299,6 @@ You can also open the model playground using the following steps:
298299

299300
The Azure resources that you created in this article are billed to your Azure subscription. If you don't expect to need these resources in the future, delete them to avoid incurring more charges.
300301

301-
### Delete your agents
302-
303-
1. In the VS Code navbar, refresh the **Azure AI Foundry Extension**. In the **Resources** section, expand the **Agents** subsection to display the list of deployed agents.
304-
305-
1. Right-click on your deployed agent to delete and select the **Delete** option.
306-
307-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/delete-agent.png" alt-text="Screenshot of the AI Foundry portal with 'Agents' from the navigation menu on the left and the **Delete** button highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/delete-agent.png":::
308-
309302
### Delete your models
310303

311304
1. In the VS Code navbar, refresh the **Azure AI Foundry Extension**. In the **Resources** section, expand the **Models** subsection to display the list of deployed models.

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

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ manager: mcleans
66
ms.service: azure-ai-foundry
77
content_well_notification:
88
- AI-contribution
9+
ai-usage: ai-assisted
910
ms.topic: how-to
10-
ms.date: 04/29/2025
11+
ms.date: 05/07/2025
1112
ms.reviewer: erichen
1213
ms.author: johalexander
1314
author: ms-johnalex
@@ -27,7 +28,7 @@ Azure AI Foundry developers can stay productive by developing, testing, and depl
2728

2829
[!INCLUDE [feature-preview](../../includes/feature-preview.md)]
2930

30-
### Create and edit Azure AI Agents within the designer view
31+
### Create and edit Azure AI Agents within the designer view
3132

3233
Follow these steps to create an Azure AI Agent:
3334

@@ -71,7 +72,7 @@ After you choose your save location, both the agent .yaml file and the Designer
7172

7273
1. To save the .yaml file, select **File** > **Save** in the VS Code menu bar.
7374

74-
### Explore the Azure AI Agent YAML definition
75+
### Explore the Azure AI Agent YAML definition
7576

7677
Your AI Agent .yaml file was opened at the same time the designer was. This file contains the details and setup information for your agent, similar to the following .yaml file example:
7778

@@ -99,28 +100,46 @@ tools: []
99100
100101
### Add tools to the Azure AI Agent
101102
103+
104+
Azure AI Agent Service has a set of knowledge and action tools that you can use to interact with your data sources.
105+
106+
107+
#### Available tools for Azure AI Agents
108+
109+
The following tools are available:
110+
111+
- Knowledge tools:
112+
- [Grounding with Bing search](/azure/ai-services/agents/how-to/tools/bing-grounding?tabs=python&pivots=overview)
113+
- [File search]( /azure/ai-services/agents/how-to/tools/file-search?tabs=python&pivots=overview)
114+
- [Azure AI Search](/azure/ai-services/agents/how-to/tools/azure-ai-search?tabs=azurecli%2Cpython&pivots=overview-azure-ai-search)
115+
- [Microsoft Fabric](/azure/ai-services/agents/how-to/tools/fabric?tabs=csharp&pivots=overview)
116+
- [Use licensed data](/azure/ai-services/agents/how-to/tools/licensed-data)
117+
118+
- Action tools:
119+
- [Azure AI Agents function calling](/azure/ai-services/agents/how-to/tools/function-calling?tabs=python&pivots=overview)
120+
102121
Azure AI Foundry Agent Service has a set of knowledge and action tools that you can use to interact with your data sources, such as:
103122
- [Grounding with Bing search](/azure/ai-services/agents/how-to/tools/bing-grounding?tabs=python&pivots=overview)
104123
- [Azure AI Search](/azure/ai-services/agents/how-to/tools/file-search?tabs=python&pivots=overview)
105124
- [Azure Functions](/azure/ai-services/agents/how-to/tools/file-search?tabs=python&pivots=overview)
106125
- [File retrieval](/azure/ai-services/agents/how-to/tools/azure-functions?tabs=python&pivots=overview)
107126
- [Code interpreter](/azure/ai-services/agents/how-to/tools/code-interpreter?tabs=python&pivots=overview)
108127
- [OpenAPI Specified tools](/azure/ai-services/agents/how-to/tools/openapi-spec?tabs=python&pivots=overview)
128+
- [Azure Functions](/azure/ai-services/agents/how-to/tools/azure-functions?tabs=python&pivots=overview)
109129
110130
#### Configure the tools YAML file
111131
112132
The Agent Designer adds tools to an AI Agent via .yaml files.
113133
114134
Create a tool configuration .yaml file using the following steps:
115135
116-
1. Perform any setup steps that might be required. See the article for the tool you’re interested in using. For example, [Grounding with Bing search](/azure/ai-services/agents/how-to/tools/bing-grounding?tabs=python&pivots=overview#setup).
136+
1. Choose a tool from the [available tools for Azure AI Agents](#available-tools-for-azure-ai-agents). Perform any setup steps that might be required. For example, [Grounding with Bing search](/azure/ai-services/agents/how-to/tools/bing-grounding?tabs=python&pivots=overview#setup).
117137
118-
1. Once you complete the setup, create a yaml code file that specifies the tools configuration. For example, this format for Grounding with Bing Search:
138+
1. Once you complete the setup, create a yaml code file that specifies the tool's configuration. For example, this format for Grounding with Bing Search:
119139
120140
```yml
121141
type: bing_grounding
122-
name: bing_search
123-
configuration:
142+
options:
124143
tool_connections:
125144
- >-
126145
/subscriptions/<Azure Subscription ID>/resourceGroups/<Azure Resource Group name>/providers/Microsoft.MachineLearningServices/workspaces/<Azure AI Foundry Project name>/connections/<Bing connection name>
@@ -153,7 +172,7 @@ Add a tool to the AI Agent with the following steps:
153172
1. To save the .yaml file, select **File** > **Save** in the VS Code menu bar.
154173

155174

156-
### Deploy Azure AI Agents to the Azure AI Foundry Studio
175+
### Deploy Azure AI Agents to the Azure AI Foundry Studio
157176

158177
Deploy your agent directly to Azure AI Foundry with the following steps:
159178

@@ -204,11 +223,11 @@ Select a thread to see the **Thread Details** page.
204223

205224
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/thread-view.png" alt-text="Screenshot of the thread details view." lightbox="../../media/how-to/get-started-projects-vs-code/thread-view.png":::
206225

207-
- A **Thread** is a conversation session between an agent and a user. Threads store **Messages** and automatically handle truncation to fit content into a models context.
226+
- A **Thread** is a conversation session between an agent and a user. Threads store **Messages** and automatically handle truncation to fit content into a model's context.
208227

209228
- A **Message** is a single interaction between the agent and the user. Messages can include text, images, and other files. Messages are stored as a list on the Thread.
210229

211-
- A **Run** is a single execution of an agent. Each run can have multiple threads, and each thread can have multiple messages. The agent uses its configuration and Threads Messages to perform tasks by calling models and tools. As part of a Run, the agent appends Messages to the Thread.
230+
- A **Run** is a single execution of an agent. Each run can have multiple threads, and each thread can have multiple messages. The agent uses its configuration and Thread's Messages to perform tasks by calling models and tools. As part of a Run, the agent appends Messages to the Thread.
212231

213232
### View run details
214233

@@ -242,6 +261,6 @@ Delete the connected tool with the following steps:
242261
1. Select the Azure Resource Group containing the tool.
243262
1. Select the **Delete** button.
244263

245-
## Next steps
264+
## Next steps
246265

247266
- Learn about the tools you can use with Azure AI Agents, such as [file search](/azure/ai-services/agents/how-to/tools/file-search?tabs=python&pivots=overview), or [code interpreter](/azure/ai-services/agents/how-to/tools/code-interpreter?tabs=python&pivots=overview).

0 commit comments

Comments
 (0)