Skip to content

Commit 6d8613c

Browse files
committed
doc: The documentation content regarding RAG has been updated. If you need to use the RetrievalAugmentationAdvisor, you should depend on spring-ai-rag.
Signed-off-by: Sun Yuhan <[email protected]>
1 parent 925f176 commit 6d8613c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/retrieval-augmented-generation.adoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ NOTE: Learn more about Retrieval Augmented Generation in the xref:concepts.adoc#
1313

1414
Spring AI provides out-of-the-box support for common RAG flows using the `Advisor` API.
1515

16-
To use the `QuestionAnswerAdvisor` or `RetrievalAugmentationAdvisor`, you need to add the `spring-ai-advisors-vector-store` dependency to your project:
16+
To use the `QuestionAnswerAdvisor`, you need to add the `spring-ai-advisors-vector-store` dependency to your project:
1717

1818
[source,xml]
1919
----
@@ -130,6 +130,16 @@ Spring AI includes a xref:api/retrieval-augmented-generation.adoc#modules[librar
130130
The `RetrievalAugmentationAdvisor` is an `Advisor` providing an out-of-the-box implementation for the most common RAG flows,
131131
based on a modular architecture.
132132

133+
To use the `RetrievalAugmentationAdvisor`, you need to add the `spring-ai-rag` dependency to your project:
134+
135+
[source,xml]
136+
----
137+
<dependency>
138+
<groupId>org.springframework.ai</groupId>
139+
<artifactId>spring-ai-rag</artifactId>
140+
</dependency>
141+
----
142+
133143
==== Sequential RAG Flows
134144

135145
===== Naive RAG

0 commit comments

Comments
 (0)