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