Uses of Interface
org.springframework.ai.chat.client.advisor.api.CallAdvisor
Packages that use CallAdvisor
Package
Description
Provides classes for advising chat clients.
Provides the API for chat client advisors.
-
Uses of CallAdvisor in org.springframework.ai.chat.client.advisor
Classes in org.springframework.ai.chat.client.advisor that implement CallAdvisorModifier and TypeClassDescriptionfinal classACallAdvisorthat uses aChatModelto generate a response.final classMemory is retrieved added as a collection of messages to the promptfinal classMemory is retrieved added into the prompt's system text.classAn advisor that blocks the call to the model provider if the user input contains any of the sensitive words.classA simple logger advisor that logs the request and response messages.Methods in org.springframework.ai.chat.client.advisor that return types with arguments of type CallAdvisor -
Uses of CallAdvisor in org.springframework.ai.chat.client.advisor.api
Subinterfaces of CallAdvisor in org.springframework.ai.chat.client.advisor.apiModifier and TypeInterfaceDescriptioninterfaceBase advisor that implements common aspects of theCallAdvisorandStreamAdvisor, reducing the boilerplate code needed to implement an advisor.interfaceBase interface for chat memory advisors.Methods in org.springframework.ai.chat.client.advisor.api that return types with arguments of type CallAdvisorModifier and TypeMethodDescriptionCallAdvisorChain.getCallAdvisors()Returns the list of all theCallAdvisorinstances included in this chain at the time of its creation.