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.
-
ClassDescriptionThe data of the chat client request that can be modified before the execution of the ChatClient's call methodBuilder for
AdvisedRequest.The data of the chat client response that can be modified before the call returns.Builder forAdvisedResponse.Parent advisor interface for all advisors.Base advisor that implements common aspects of theCallAroundAdvisorandStreamAroundAdvisor, reducing the boilerplate code needed to implement an advisor.Around advisor that wraps the ChatModel#call(Prompt) method.The Call Around Advisor Chain is used to invoke the next Around Advisor in the chain.Around advisor that runs around stream based requests.The StreamAroundAdvisorChain is used to delegate the call to the next StreamAroundAdvisor in the chain.