Uses of Interface
org.springframework.ai.chat.client.advisor.api.StreamAdvisor
Packages that use StreamAdvisor
Package
Description
Provides classes for advising chat clients.
Provides the API for chat client advisors.
-
Uses of StreamAdvisor in org.springframework.ai.chat.client.advisor
Classes in org.springframework.ai.chat.client.advisor that implement StreamAdvisorModifier and TypeClassDescriptionfinal 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 that return types with arguments of type StreamAdvisor -
Uses of StreamAdvisor in org.springframework.ai.chat.client.advisor.api
Subinterfaces of StreamAdvisor 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 StreamAdvisorModifier and TypeMethodDescriptionStreamAdvisorChain.getStreamAdvisors()Returns the list of all theStreamAdvisorinstances included in this chain at the time of its creation.