Interface BaseChatMemoryAdvisor

All Superinterfaces:
Advisor, BaseAdvisor, CallAdvisor, org.springframework.core.Ordered, StreamAdvisor
All Known Implementing Classes:
MessageChatMemoryAdvisor, PromptChatMemoryAdvisor

public interface BaseChatMemoryAdvisor extends BaseAdvisor
Base interface for chat memory advisors.
Since:
1.0
Author:
Mark Pollack, Thomas Vitale
  • Method Details

    • getConversationId

      default String getConversationId(Map<String,Object> context, String defaultConversationId)
      Retrieve the conversation ID from the given context or return the default conversation ID when not found.