Interface CallAdvisor
- All Superinterfaces:
Advisor,org.springframework.core.Ordered
- All Known Subinterfaces:
BaseAdvisor,BaseChatMemoryAdvisor
- All Known Implementing Classes:
ChatModelCallAdvisor,MessageChatMemoryAdvisor,PromptChatMemoryAdvisor,SafeGuardAdvisor,SimpleLoggerAdvisor
Advisor for execution flows ultimately resulting in a call to an AI model
- Since:
- 1.0.0
- Author:
- Christian Tzolov, Dariusz Jedrzejczyk, Thomas Vitale
-
Field Summary
Fields inherited from interface org.springframework.ai.chat.client.advisor.api.Advisor
DEFAULT_CHAT_MEMORY_PRECEDENCE_ORDERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionadviseCall(ChatClientRequest chatClientRequest, CallAdvisorChain callAdvisorChain) Methods inherited from interface org.springframework.core.Ordered
getOrder
-
Method Details
-
adviseCall
ChatClientResponse adviseCall(ChatClientRequest chatClientRequest, CallAdvisorChain callAdvisorChain)
-