Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add VectorStoreChatMemoryAdvisor here. Will add it when merging.

Copy link
Contributor Author

@sunyuhan1998 sunyuhan1998 May 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilayaperumalg Ok, no problem. By the way, I have previously pushed another PR which I think is also a bug, can you help to review this PR? #3268. thank you!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will check it out and thank you for the PRs!


[source,xml]
----
Expand Down Expand Up @@ -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]
----
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-rag</artifactId>
</dependency>
----

==== Sequential RAG Flows

===== Naive RAG
Expand Down