Uses of Package
org.springframework.ai.chat.client.advisor
Packages that use org.springframework.ai.chat.client.advisor
Package
Description
Provides classes for advising chat clients.
-
Classes in org.springframework.ai.chat.client.advisor used by org.springframework.ai.chat.client.advisorClassDescriptionAbstract class that serves as a base for chat memory advisors.Abstract builder for
AbstractChatMemoryAdvisor.Implementation of theCallAroundAdvisorChainandStreamAroundAdvisorChain.Memory is retrieved added as a collection of messages to the promptMemory is retrieved added into the prompt's system text.Context for the question is retrieved from a Vector Store and added to the prompt's user text.Advisor that implements common Retrieval Augmented Generation (RAG) flows using the building blocks defined in theorg.springframework.ai.ragpackage and following the Modular RAG Architecture.ACallAroundAdvisorandStreamAroundAdvisorthat filters out the response if the user input contains any of the sensitive words.Memory is retrieved from a VectorStore added into the prompt's system text.