Uses of Interface
org.springframework.ai.chat.client.advisor.api.AdvisorChain
Packages that use AdvisorChain
Package
Description
Provides classes for advising chat clients.
Provides the API for chat client advisors.
-
Uses of AdvisorChain in org.springframework.ai.chat.client.advisor
Classes in org.springframework.ai.chat.client.advisor that implement AdvisorChainMethods in org.springframework.ai.chat.client.advisor with parameters of type AdvisorChainModifier and TypeMethodDescriptionMessageChatMemoryAdvisor.after(ChatClientResponse chatClientResponse, AdvisorChain advisorChain) PromptChatMemoryAdvisor.after(ChatClientResponse chatClientResponse, AdvisorChain advisorChain) MessageChatMemoryAdvisor.before(ChatClientRequest chatClientRequest, AdvisorChain advisorChain) PromptChatMemoryAdvisor.before(ChatClientRequest chatClientRequest, AdvisorChain advisorChain) -
Uses of AdvisorChain in org.springframework.ai.chat.client.advisor.api
Subinterfaces of AdvisorChain in org.springframework.ai.chat.client.advisor.apiModifier and TypeInterfaceDescriptioninterfaceA base interface for advisor chains that can be used to chain multiple advisors together, both for call and stream advisors.interfaceA chain ofCallAdvisorinstances orchestrating the execution of aChatClientRequeston the nextCallAdvisorin the chain.interfaceA chain ofStreamAdvisorinstances orchestrating the execution of aChatClientRequeston the nextStreamAdvisorin the chain.Methods in org.springframework.ai.chat.client.advisor.api with parameters of type AdvisorChainModifier and TypeMethodDescriptionBaseAdvisor.after(ChatClientResponse chatClientResponse, AdvisorChain advisorChain) Logic to be executed after the rest of the advisor chain is called.BaseAdvisor.before(ChatClientRequest chatClientRequest, AdvisorChain advisorChain) Logic to be executed before the rest of the advisor chain is called.