Uses of Interface
org.springframework.ai.chat.client.advisor.api.Advisor
Packages that use Advisor
Package
Description
Chat client.
Provides classes for advising chat clients.
Provides the API for chat client advisors.
Provides classes for observing chat data.
-
Uses of Advisor in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client that return types with arguments of type AdvisorModifier and TypeMethodDescriptionDefaultChatClient.DefaultAdvisorSpec.getAdvisors()DefaultChatClient.DefaultChatClientRequestSpec.getAdvisors()Methods in org.springframework.ai.chat.client with parameters of type AdvisorModifier and TypeMethodDescriptionChatClient.Builder.defaultAdvisors(Advisor... advisor) DefaultChatClientBuilder.defaultAdvisors(Advisor... advisors) Method parameters in org.springframework.ai.chat.client with type arguments of type AdvisorModifier and TypeMethodDescriptionChatClient.Builder.defaultAdvisors(List<Advisor> advisors) DefaultChatClientBuilder.defaultAdvisors(List<Advisor> advisors) -
Uses of Advisor in org.springframework.ai.chat.client.advisor
Classes in org.springframework.ai.chat.client.advisor that implement AdvisorModifier and TypeClassDescriptionfinal classACallAdvisorthat uses aChatModelto generate a response.final classAStreamAdvisorthat uses aChatModelto generate a streaming 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 with parameters of type AdvisorModifier and TypeMethodDescriptionMethod parameters in org.springframework.ai.chat.client.advisor with type arguments of type AdvisorModifier and TypeMethodDescription -
Uses of Advisor in org.springframework.ai.chat.client.advisor.api
Subinterfaces of Advisor 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.interfaceAdvisor for execution flows ultimately resulting in a call to an AI modelinterfaceAdvisor for execution flows ultimately resulting in a streaming call to an AI model. -
Uses of Advisor in org.springframework.ai.chat.client.observation
Methods in org.springframework.ai.chat.client.observation that return types with arguments of type AdvisorMethod parameters in org.springframework.ai.chat.client.observation with type arguments of type AdvisorModifier and TypeMethodDescription