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:
@@ -0,0 +1,15 @@
|
||||
# WindowCompactionStrategy with a ChatModelSummarizer
|
||||
|
||||
covered=6 preserved=4 summary messages=2
|
||||
|
||||
Active view after compaction:
|
||||
1 MESSAGE U:Summarize the conversation we had so far. (synthetic)
|
||||
2 MESSAGE A:SUMMARY: user is Asha, asked about turns 1-3. (synthetic)
|
||||
3 MESSAGE U:u4
|
||||
4 MESSAGE A:a4
|
||||
5 MESSAGE U:u5
|
||||
6 MESSAGE A:a5
|
||||
|
||||
Messages the summarizer model was sent (1 call):
|
||||
S:You are a conversation summarizer. Your task is to create a concise summary of the conve ...
|
||||
U:=== CONVERSATION TO SUMMARIZE === / User: u1 / Assistant: a1 / User: u2 / Assistant: a2 ...
|
||||
Reference in New Issue
Block a user