Skip to content

Commit da18e4b

Browse files
authored
Merge pull request #7606 from cdpark/refresh-foundry-batch4
Feature 495814: Q&M: Freshness - AI Foundry - batch 4
2 parents 5f559ba + 557c6a6 commit da18e4b

File tree

3 files changed

+40
-28
lines changed

3 files changed

+40
-28
lines changed
Lines changed: 39 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,102 @@
11
---
2-
title: How to build and consume vector indexes in Azure AI Foundry portal
2+
title: Build and Consume Vector Indexes
33
titleSuffix: Azure AI Foundry
4-
description: Learn how to create and use a vector index for performing Retrieval Augmented Generation (RAG).
4+
description: Learn how to create and use a vector index for performing retrieval-augmented generation (RAG) by using Azure AI Foundry portal.
55
ms.service: azure-ai-foundry
66
ms.custom:
77
- ignite-2023
88
- build-2024
99
- ignite-2024
1010
ms.topic: how-to
11-
ms.date: 06/29/2025
11+
ms.date: 10/10/2025
1212
ms.reviewer: estraight
1313
ms.author: ssalgado
1414
manager: nitinme
1515
author: ssalgadodev
1616
---
1717

18-
# How to build and consume vector indexes in Azure AI Foundry portal
18+
# Build and consume vector indexes in Azure AI Foundry portal
1919

2020
[!INCLUDE [feature-preview](../includes/feature-preview.md)]
2121

22-
In this article, you learn how to create and use a vector index for performing [Retrieval Augmented Generation (RAG)](../concepts/retrieval-augmented-generation.md) in the Azure AI Foundry portal.
22+
In this article, you learn how to create and use a vector index for performing [retrieval-augmented generation (RAG)](../concepts/retrieval-augmented-generation.md) in the Azure AI Foundry portal.
2323

2424
A vector index isn't required for RAG, but a vector query can match on semantically similar content, which is useful for RAG workloads.
2525

2626
## Prerequisites
2727

2828
You must have:
29-
- An Azure AI Foundry project
30-
- An [Azure AI Search resource](/azure/search/search-create-service-portal)
31-
- You should have content in a supported format that provides sufficient information for a chat experience. It can be an existing index on Azure AI Search, or create a new index using content files in Azure Blob Storage, your local system, or data in Azure AI Foundry.
29+
30+
- An [Azure AI Foundry project](create-projects.md).
31+
32+
- An [Azure AI Search resource](/azure/search/search-create-service-portal).
33+
34+
- You should have content in a supported format that provides sufficient information for a chat experience. It can be an existing index on Azure AI Search, or you can create a new index using content files in Azure Blob Storage, your local system, or data in Azure AI Foundry.
3235

3336
## Create an index from the Chat playground
3437

3538
[!INCLUDE [tip-left-pane](../includes/tip-left-pane.md)]
3639

37-
1. Sign in to [Azure AI Foundry](https://ai.azure.com/?cid=learnDocs).
38-
1. Go to your project or [create a new project](../how-to/create-projects.md) in Azure AI Foundry portal.
39-
1. From the menu on the left, select **Playgrounds**. Select the **Chat Playground**.
40+
1. Sign in to the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs).
41+
42+
1. Go to your project or [create a new project](../how-to/create-projects.md) in your Azure AI Foundry resource.
43+
44+
1. From the sidebar menu, select **Playgrounds**. Select **Try the Chat playground**.
4045

4146
:::image type="content" source="../media/index-retrieve/project-left-menu.png" alt-text="Screenshot of Project Left Menu." lightbox="../media/index-retrieve/project-left-menu.png":::
4247

43-
1. Select a deployed chat completion model. If you have not done so already, deploy a model by selecting **Create new deployment**.
48+
1. Select a deployed chat completion model. If you don't have one, deploy a model by selecting **Create new deployment**, then choose a model.
4449

4550
:::image type="content" source="../media/index-retrieve/create-deployment.png" alt-text="Screenshot of create a deployment button." lightbox="../media/index-retrieve/create-deployment.png":::
46-
47-
1. Scroll to the bottom of the model window. Select **+ Add a new data source**
51+
52+
1. Scroll to the bottom of the model window. Select **+ Add a new data source**.
4853

4954
:::image type="content" source="../media/index-retrieve/add-your-data.png" alt-text="Screenshot of the add your data section." lightbox="../media/index-retrieve/add-your-data.png":::
50-
55+
5156
1. Choose your **Source data**. You can choose source data from a list of your recent data sources, a storage URL on the cloud, or upload files and folders from the local machine. You can also add a connection to another data source such as Azure Blob Storage.
5257

5358
If you don't have sample data, you can [download these PDFs](https://github.com/Azure-Samples/azure-search-sample-data/tree/main/health-plan) to your local system, and then upload them as your source data.
5459

5560
:::image type="content" source="../media/index-retrieve/select-source-data.png" alt-text="Screenshot of select source data." lightbox="../media/index-retrieve/select-source-data.png":::
5661

57-
1. Select **Next** after choosing source data
58-
1. Choose the **Index Storage** - the location where you want your index to be stored in the **Index configuration** tab.
62+
1. Select **Next** after choosing source data.
63+
64+
1. In the **Index configuration** tab, choose the **Index storage** location where you want your index to be stored.
65+
5966
1. If you already have an Azure AI Search resource, you can browse the list of search service resources for your subscription and then select **Connect** for the one you want to use. If you're connecting with API keys, confirm your search service [uses API keys](/azure/search/search-security-api-keys).
6067

6168
:::image type="content" source="../media/index-retrieve/index-storage.png" alt-text="Screenshot of select index store." lightbox="../media/index-retrieve/index-storage.png":::
6269

63-
1. If you don't have an existing resource, choose **Create a new Azure AI Search resource**. Select **Next**.
70+
If you don't have an existing resource, choose **Create a new Azure AI Search resource**. Select **Next**.
6471

6572
1. Select the Azure OpenAI connection you want to use. Select **Next**.
66-
67-
1. Enter a name you want to use for your vector index. Select **Next**.
68-
1. Review the details you entered and select **Create**
73+
74+
1. Review the details you entered and select **Create vector index**.
75+
6976
1. You're taken to the index details page where you can see the status of your index creation.
7077

7178
## Use an index in prompt flow
7279

73-
1. Sign in to [Azure AI Foundry](https://ai.azure.com/?cid=learnDocs) and select your project.
74-
1. From the collapsible left menu, select **Prompt flow** from the **Build and customize** section.
80+
1. Under **Build and customize** in the sidebar menu, select **Prompt flow**.
81+
7582
1. Open an existing prompt flow or select **+ Create** to create a new flow.
76-
1. On the top menu of the flow designer, select **More tools**, and then select ***Index Lookup***.
83+
84+
1. Select **Create** in the **Chat flow** tile, then select **Create** again.
85+
86+
1. Select **Start compute session**, and wait a few minutes for the compute session to begin.
87+
88+
1. Select **More tools**, and then select **Index Lookup**.
7789

7890
:::image type="content" source="../media/index-retrieve/index-lookup-tool.png" alt-text="Screenshot of Vector index Lookup from More Tools." lightbox="../media/index-retrieve/index-lookup-tool.png":::
7991

80-
1. Provide a name for your Index Lookup Tool and select **Add**.
92+
1. Provide a node name for your Index Lookup Tool and select **Add**.
93+
8194
1. Select the **mlindex_content** value box, and select your index from the value section. After completing this step, enter the queries and **query_types** to be performed against the index.
8295

8396
:::image type="content" source="../media/index-retrieve/configure-index-lookup-tool.png" alt-text="Screenshot of the prompt flow node to configure index lookup." lightbox="../media/index-retrieve/configure-index-lookup-tool.png":::
8497

8598

86-
8799
## Related content
88100

89-
- [Learn more about RAG](../concepts/retrieval-augmented-generation.md)
101+
- [Retrieval augmented generation and indexes](../concepts/retrieval-augmented-generation.md)
90102
- [Build and consume an index using code](../tutorials/copilot-sdk-create-resources.md)
-26 KB
Loading

articles/ai-foundry/toc-files/solutions/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ items:
55
href: ../../concepts/retrieval-augmented-generation.md
66
- name: Use Azure AI Search
77
href: /azure/search/search-what-is-azure-search?context=/azure/ai-foundry/context/context
8-
- name: Build and consume vector indexes (Portal)
8+
- name: Build and consume vector indexes (portal)
99
href: ../../how-to/index-add.md
1010
- name: Build a RAG solution using Azure AI Search
1111
href: /azure/search/tutorial-rag-build-solution?context=/azure/ai-foundry/context/context

0 commit comments

Comments
 (0)