Real PostgreSQL 16 and Redis Stack 7.4; 24 tests write output/01-24. Covers the 20-message default window with no property, the 36-character conversation_id, tool messages dropped by JdbcChatMemoryRepository, concurrent add() on one conversation, a 1.x table under the 2.0 repository, the Redis repository silently backing off for a custom ChatMemory, and the removal of PromptChatMemoryAdvisor. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ja4jkzrbQ4LQZBNrb5mkZE
17 lines
676 B
Plaintext
17 lines
676 B
Plaintext
# JdbcChatMemoryRepository on PostgreSQL 16
|
|
|
|
Table created by initialize-schema=always:
|
|
conversation_id character varying (36)
|
|
content text
|
|
type character varying (10)
|
|
timestamp timestamp without time zone
|
|
sequence_id bigint
|
|
|
|
After one call, rows for the conversation:
|
|
seq=0 USER My name is Priya
|
|
seq=1 ASSISTANT Nice to meet you, Priya.
|
|
|
|
New repository + new memory over the same database, then "What is my name?":
|
|
reply: Your name is Priya.
|
|
findConversationIds() returns every conversation in the table: [6f0a1c9e-2b7d-4c55-9a53-0d1f3e7a2b10]
|