Interface BaseChatMemoryAdvisor
- All Superinterfaces:
Advisor,BaseAdvisor,CallAdvisor,org.springframework.core.Ordered,StreamAdvisor
- All Known Implementing Classes:
MessageChatMemoryAdvisor,PromptChatMemoryAdvisor
Base interface for chat memory advisors.
- Since:
- 1.0
- Author:
- Mark Pollack, 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.ai.chat.client.advisor.api.BaseAdvisor
DEFAULT_SCHEDULERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Methods inherited from interface org.springframework.ai.chat.client.advisor.api.BaseAdvisor
adviseCall, adviseStream, after, before, getName, getSchedulerMethods inherited from interface org.springframework.core.Ordered
getOrder
-
Method Details
-
getConversationId
Retrieve the conversation ID from the given context or return the default conversation ID when not found.
-