Skip to content

Commit 4d21c49

Browse files
authored
Merge pull request #5439 from sdgilley/sdg-patches
update for freshness
2 parents 857198d + 9c98548 commit 4d21c49

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

articles/ai-foundry/concepts/retrieval-augmented-generation.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.custom:
88
- ignite-2023
99
- build-2024
1010
ms.topic: concept-article
11-
ms.date: 04/03/2025
11+
ms.date: 06/09/2025
1212
ms.reviewer: sgilley
1313
ms.author: sgilley
1414
author: sdgilley
@@ -20,7 +20,7 @@ This article talks about the importance and need for Retrieval Augmented Generat
2020

2121
## What is RAG?
2222

23-
Some basics first. Large language models (LLMs) like ChatGPT are trained on public internet data that was available at the point in time when they were trained. They can answer questions related to the data they were trained on. This public data might not be sufficient to meet all your needs. You might want questions answered based on your private data. Or, the public data might simply be out of date. The solution to this problem is Retrieval Augmented Generation (RAG), a pattern used in AI that uses an LLM to generate answers with your own data.
23+
Some basics first. Large language models (LLMs) like ChatGPT are trained on public internet data that was available at the point in time when they were trained. They can answer questions related to the data they were trained on. The public data might not be sufficient to meet all your needs. You might want questions answered based on your private data. Or, the public data might just be out of date. The solution to this problem is Retrieval Augmented Generation (RAG), a pattern used in AI that uses an LLM to generate answers with your own data.
2424

2525
## How does RAG work?
2626

@@ -31,11 +31,19 @@ RAG is a pattern that uses your data with an LLM to generate answers specific to
3131

3232
## What is an index and why do I need it?
3333

34-
RAG uses your data to generate answers to the user question. For RAG to work well, we need to find a way to search and send your data in an easy and cost efficient manner to the LLMs. This is achieved by using an index. An index is a data store that allows you to search data efficiently. This index is very useful in RAG. An index can be optimized for LLMs by creating vectors (text data converted to number sequences using an embedding model). A good index usually has efficient search capabilities like keyword searches, semantic searches, vector searches, or a combination of these. This optimized RAG pattern can be illustrated as follows.
34+
RAG uses your data to generate answers to the user question. For RAG to work well, we need to find a way to search and send your data in an easy and cost efficient manner to the LLMs. An index solves this problem. An index is a data store that allows you to search data efficiently. This index is very useful in RAG. An index can be optimized for LLMs by creating vectors (text data converted to number sequences using an embedding model). A good index usually has efficient search capabilities like keyword searches, semantic searches, vector searches, or a combination of these features. This optimized RAG pattern can be illustrated as follows.
3535

3636
:::image type="content" source="../media/index-retrieve/rag-pattern-with-index.png" alt-text="Screenshot of the RAG pattern with index." lightbox="../media/index-retrieve/rag-pattern-with-index.png":::
3737

38-
Azure AI provides an index asset to use with RAG pattern. The index asset contains important information like where is your index stored, how to access your index, what are the modes in which your index can be searched, does your index have vectors, what is the embedding model used for vectors etc. The Azure AI index uses [Azure AI Search](/azure/search/search-what-is-azure-search) as the primary and recommended index store. Azure AI Search is an Azure resource that supports information retrieval over your vector and textual data stored in search indexes.
38+
Azure AI provides an index asset to use with RAG pattern. The index asset contains important information such as:
39+
40+
* Where is your index stored?
41+
* How to access your index?
42+
* What are the modes in which your index can be searched?
43+
* Does your index have vectors?
44+
* What is the embedding model used for vectors?
45+
46+
The Azure AI index uses [Azure AI Search](/azure/search/search-what-is-azure-search) as the primary and recommended index store. Azure AI Search is an Azure resource that supports information retrieval over your vector and textual data stored in search indexes.
3947

4048
## Next steps
4149

0 commit comments

Comments
 (0)