Add session-memory module: Spring AI 2.1 Session API (event log, turn-aware windows, compaction with summarizer, SessionAdvisors, JDBC on PostgreSQL 16) with 14 transcripts and the 2.0 ChatMemory deprecation warnings from javac. Spring Boot 4.1.1, Spring AI 2.1.0, Java 25.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6jDW7zqoKDMTRrCyq
This commit is contained in:
Claude
2026-11-22 18:39:32 +05:30
parent 0006167c24
commit 7612fca082
39 changed files with 1149 additions and 0 deletions
@@ -0,0 +1,9 @@
# ChatMemory.CONVERSATION_ID against SessionMemoryAdvisor.SESSION_ID_CONTEXT_KEY
ChatMemory.CONVERSATION_ID = chat_memory_conversation_id
MemoryAdvisor.CONVERSATION_ID = chat_memory_conversation_id
SessionMemoryAdvisor.SESSION_ID_CONTEXT_KEY = chat_memory_conversation_id
Two calls with the 2.0 parameter name, SessionAdvisors on the client:
model< Your name is Asha.
session 'legacy-key' holds: U:My name is Asha | A:Nice to meet you, Asha. | U:What is my name? | A:Your name is Asha.