Skip to content

Commit cdbc24c

Browse files
committed
reframed AR pipeline as a tutorial
1 parent 890772b commit cdbc24c

File tree

6 files changed

+23
-11
lines changed

6 files changed

+23
-11
lines changed

articles/search/agentic-retrieval-how-to-create-pipeline.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
---
2-
title: Build an agentic retrieval solution
2+
title: 'Tutorial: Build an agentic retrieval solution'
33
titleSuffix: Azure AI Search
44
description: Learn how to design and build a custom agentic retrieval solution where Azure AI Search handles data retrieval for your custom agents in AI Foundry.
55
author: HeidiSteen
66
ms.author: heidist
77
manager: nitinme
88
ms.date: 09/10/2025
99
ms.service: azure-ai-search
10-
ms.topic: how-to
10+
ms.topic: tutorial
1111
ms.custom:
1212
- build-2025
1313
---
1414

15-
# Build an agent-to-agent retrieval solution using Azure AI Search
15+
# Tutorial: Build an agent-to-agent retrieval solution using Azure AI Search
1616

1717
[!INCLUDE [Feature preview](./includes/previews/preview-generic.md)]
1818

1919
This article describes an approach or pattern for building a solution that uses Azure AI Search for knowledge retrieval, and how to integrate knowledge retrieval into a custom solution that includes Azure AI Agent. This pattern uses an agent tool to invoke an agentic retrieval pipeline in Azure AI Search.
2020

2121
:::image type="content" source="media/agentic-retrieval/agent-to-agent-pipeline.svg" alt-text="Diagram of Azure AI Search integration with Azure AI Agent service." lightbox="media/agentic-retrieval/agent-to-agent-pipeline.png" :::
2222

23-
This article supports the [agentic-retrieval-pipeline-example](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/agentic-retrieval-pipeline-example) Python sample on GitHub.
23+
To run the code for this tutorial, download the [agentic-retrieval-pipeline-example](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/agentic-retrieval-pipeline-example) Python sample on GitHub.
2424

2525
This exercise differs from the [Agentic Retrieval Quickstart](search-get-started-agentic-retrieval.md) in how it uses Azure AI Agent to retrieve data from the index, and how it uses an agent tool for orchestration. If you want to understand the retrieval pipeline in its simplest form, begin with the quickstart.
2626

@@ -315,6 +315,18 @@ Look at output tokens in the [activity array](agentic-retrieval-how-to-retrieve.
315315

316316
+ Set `maxOutputSize` in the [knowledge agent](agentic-retrieval-how-to-create-knowledge-base.md) to govern the size of the response, or `maxRuntimeInSeconds` for time-bound processing.
317317

318+
## Clean up resources
319+
320+
When you're working in your own subscription, at the end of a project, it's a good idea to remove the resources that you no longer need. Resources left running can cost you money. You can delete resources individually or delete the resource group to delete the entire set of resources.
321+
322+
You can also delete individual objects:
323+
324+
+ [Delete a knowledge agent](agentic-retrieval-how-to-create-knowledge-base.md#delete-an-agent)
325+
326+
+ [Delete a knowledge source](agentic-knowledge-source-how-to-search-index.md#delete-a-knowledge-source)
327+
328+
+ [Delete an index](search-how-to-manage-index#delete-an-index)
329+
318330
## Related content
319331

320332
+ [Agentic retrieval in Azure AI Search](agentic-retrieval-overview.md)

articles/search/agentic-retrieval-how-to-retrieve.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This article also explains the three components of the retrieval response:
2727
The retrieve request can include instructions for query processing that override the defaults set on the knowledge agent.
2828

2929
> [!NOTE]
30-
> By default, there's no model-generated "answer" in the response and you should pass the extracted response to an LLM so that it can ground its answer based on the search results. For an end-to-end example that includes this step, see [Build an agent-to-agent retrieval solution ](agentic-retrieval-how-to-create-pipeline.md) or [Azure OpenAI Demo](https://github.com/Azure-Samples/azure-search-openai-demo).
30+
> By default, there's no model-generated "answer" in the response and you should pass the extracted response to an LLM so that it can ground its answer based on the search results. For an end-to-end example that includes this step, see [Tutorial: Build an agent-to-agent retrieval solution ](agentic-retrieval-how-to-create-pipeline.md) or [Azure OpenAI Demo](https://github.com/Azure-Samples/azure-search-openai-demo).
3131
>
3232
>Alternatively, you can use [answer synthesis](agentic-retrieval-how-to-answer-synthesis.md) to bring answer formulation into the agentic pipeline. In this workflow, the retriever response consists of LLM-formulated answers instead of the raw search results.
3333

articles/search/agentic-retrieval-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Your search index determines query execution and any optimizations that occur du
9191

9292
### Integration requirements
9393

94-
Your application drives the pipeline by calling the knowledge agent and handling the response. The pipeline returns grounding data that you pass to an LLM for answer generation in your conversation interface. For implementation details, see [Build an agent-to-agent retrieval solution](agentic-retrieval-how-to-create-pipeline.md).
94+
Your application drives the pipeline by calling the knowledge agent and handling the response. The pipeline returns grounding data that you pass to an LLM for answer generation in your conversation interface. For implementation details, see [Tutorial: Build an agent-to-agent retrieval solution](agentic-retrieval-how-to-create-pipeline.md).
9595

9696
> [!NOTE]
9797
> Only gpt-4o, gpt-4.1, and gpt-5 series models are supported for query planning. You can use any model for final answer generation.
@@ -117,7 +117,7 @@ Choose any of these options for your next step.
117117
+ [Create a knowledge agent](agentic-retrieval-how-to-create-knowledge-base.md)
118118
+ [Use answer synthesis for citation-backed responses](agentic-retrieval-how-to-answer-synthesis.md)
119119
+ [Use a knowledge agent to retrieve data](agentic-retrieval-how-to-retrieve.md)
120-
+ [Build an agent-to-agent retrieval solution](agentic-retrieval-how-to-create-pipeline.md)
120+
+ [Tutorial: Build an agent-to-agent retrieval solution](agentic-retrieval-how-to-create-pipeline.md)
121121

122122
+ REST API reference:
123123

articles/search/samples-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Code samples from the Azure AI Search team demonstrate features and workflows. T
4242
| [Quickstart-Semantic-Search](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/Quickstart-Semantic-Search) | [Quickstart: Semantic ranking](search-get-started-semantic.md) | Add semantic ranking to an index schema and run semantic queries. |
4343
| [Quickstart-Vector-Search](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/Quickstart-Vector-Search) | [Quickstart: Vector search](search-get-started-vector.md) | Index and query vector content. |
4444
| [Tutorial-RAG](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/Tutorial-RAG) | [Build a RAG solution using Azure AI Search](tutorial-rag-build-solution.md) | Create an indexing pipeline that loads, chunks, embeds, and ingests searchable content for RAG. |
45-
| [agentic-retrieval-pipeline-example](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/agentic-retrieval-pipeline-example) | [Build an agent-to-agent retrieval solution using Azure AI Search](agentic-retrieval-how-to-create-pipeline.md) | Unlike [Quickstart-Agentic-Retrieval](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/Quickstart-Agentic-Retrieval), this sample incorporates Azure AI Agent for request orchestration. |
45+
| [agentic-retrieval-pipeline-example](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/agentic-retrieval-pipeline-example) | [Tutorial: Build an agent-to-agent retrieval solution using Azure AI Search](agentic-retrieval-how-to-create-pipeline.md) | Unlike [Quickstart-Agentic-Retrieval](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/Quickstart-Agentic-Retrieval), this sample incorporates Azure AI Agent for request orchestration. |
4646

4747
## Accelerators
4848

articles/search/search-get-started-agentic-retrieval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ zone_pivot_groups: search-get-started-agentic-retrieval
4242
+ [Agentic retrieval in Azure AI Search](agentic-retrieval-overview.md)
4343
+ [Create a knowledge agent](agentic-retrieval-how-to-create-knowledge-base.md)
4444
+ [Use a knowledge agent to retrieve data](agentic-retrieval-how-to-retrieve.md)
45-
+ [Build an agent-to-agent retrieval solution](agentic-retrieval-how-to-create-pipeline.md)
45+
+ [Tutorial: Build an agent-to-agent retrieval solution](agentic-retrieval-how-to-create-pipeline.md)

articles/search/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ items:
152152
href: tutorial-document-extraction-image-verbalization.md
153153
- name: Verbalize images from a structured document layout
154154
href: tutorial-document-layout-image-verbalization.md
155+
- name: Agentic retrieval tutorial
156+
href: agentic-retrieval-how-to-create-pipeline.md
155157
- name: Classic RAG tutorials
156158
items:
157159
- name: Build a classic RAG solution
@@ -410,8 +412,6 @@ items:
410412
href: agentic-retrieval-how-to-answer-synthesis.md
411413
- name: Retrieve data using an agent
412414
href: agentic-retrieval-how-to-retrieve.md
413-
- name: Build a retrieval pipeline
414-
href: agentic-retrieval-how-to-create-pipeline.md
415415
- name: Migrate agentic retrieval code
416416
href: agentic-retrieval-how-to-migrate.md
417417
- name: Vector search

0 commit comments

Comments
 (0)