Package org.springframework.ai.chat.client.advisor.api
@NonNullApi
@NonNullFields
package org.springframework.ai.chat.client.advisor.api
Provides the API for chat client advisors.
-
InterfacesClassDescriptionParent advisor interface for all advisors.Defines the context for executing a chain of advisors as part of processing a chat request.Base advisor that implements common aspects of the
CallAdvisorandStreamAdvisor, reducing the boilerplate code needed to implement an advisor.A base interface for advisor chains that can be used to chain multiple advisors together, both for call and stream advisors.Base interface for chat memory advisors.Advisor for execution flows ultimately resulting in a call to an AI modelA chain ofCallAdvisorinstances orchestrating the execution of aChatClientRequeston the nextCallAdvisorin the chain.Advisor for execution flows ultimately resulting in a streaming call to an AI model.A chain ofStreamAdvisorinstances orchestrating the execution of aChatClientRequeston the nextStreamAdvisorin the chain.