From 6d8613cc09ffc1923b7e331b06713e648f0a3261 Mon Sep 17 00:00:00 2001 From: Sun Yuhan <1085481446@qq.com> Date: Thu, 29 May 2025 19:56:01 +0800 Subject: [PATCH] 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 <1085481446@qq.com> --- .../pages/api/retrieval-augmented-generation.adoc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/retrieval-augmented-generation.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/retrieval-augmented-generation.adoc index 7f1d0463e12..111c39518e3 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/retrieval-augmented-generation.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/retrieval-augmented-generation.adoc @@ -13,7 +13,7 @@ NOTE: Learn more about Retrieval Augmented Generation in the xref:concepts.adoc# Spring AI provides out-of-the-box support for common RAG flows using the `Advisor` API. -To use the `QuestionAnswerAdvisor` or `RetrievalAugmentationAdvisor`, you need to add the `spring-ai-advisors-vector-store` dependency to your project: +To use the `QuestionAnswerAdvisor`, you need to add the `spring-ai-advisors-vector-store` dependency to your project: [source,xml] ---- @@ -130,6 +130,16 @@ Spring AI includes a xref:api/retrieval-augmented-generation.adoc#modules[librar The `RetrievalAugmentationAdvisor` is an `Advisor` providing an out-of-the-box implementation for the most common RAG flows, based on a modular architecture. +To use the `RetrievalAugmentationAdvisor`, you need to add the `spring-ai-rag` dependency to your project: + +[source,xml] +---- + + org.springframework.ai + spring-ai-rag + +---- + ==== Sequential RAG Flows ===== Naive RAG