Package org.springframework.ai.chat.memory
package org.springframework.ai.chat.memory
-
ClassDescriptionCreate a CassandraChatMemory like
CassandraChatMemory.create(CassandraChatMemoryConfig.builder().withTimeToLive(Duration.ofDays(1)).build());
For example @see org.springframework.ai.chat.memory.CassandraChatMemoryGiven a string sessionId, return the value for each primary key column.The ChatMemory interface represents a storage for chat conversation history.The InMemoryChatMemory class is an implementation of the ChatMemory interface that represents an in-memory storage for chat conversation history.