Uses of Package
org.springframework.ai.chat.client.advisor
Packages that use org.springframework.ai.chat.client.advisor
Package
Description
Provides classes for advising chat clients.
-
Classes in org.springframework.ai.chat.client.advisor used by org.springframework.ai.chat.client.advisorClassDescriptionA
CallAdvisorthat uses aChatModelto generate a response.AStreamAdvisorthat uses aChatModelto generate a streaming response.Default implementation for theBaseAdvisorChain.Memory is retrieved added as a collection of messages to the promptMemory is retrieved added into the prompt's system text.Builder for PromptChatMemoryAdvisor.An advisor that blocks the call to the model provider if the user input contains any of the sensitive words.A simple logger advisor that logs the request and response messages.Recursive Advisor that validates the structured JSON output of a chat client entity response against a generated JSON schema for the expected output type.Builder class for StructuredOutputValidationAdvisor.Recursive Advisor that disables the internal tool execution flow and instead implements the tool calling loop as part of the advisor chain.Builder for creating instances of ToolCallAdvisor.