advancedSpring AI — Core, ChatClient & RAG

What is the difference between QuestionAnswerAdvisor and RetrievalAugmentationAdvisor?

QuestionAnswerAdvisor is simple one-shot RAG — search the vector store, append context to the prompt. RetrievalAugmentationAdvisor is a modular pipeline supporting query transformers (rewrite/expand), multiple document retrievers, and document post-processors (re-ranking) — the production-grade, multi-step option.

This is a Pro question

Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.

What is the difference between QuestionAnswerAdvisor and RetrievalAugmentationAdvisor?

Next Step

Continue to What vector stores does Spring AI support? How do you switch between them?← Back to all Spring Boot & Microservices questions