Class CassandraChatMemory
java.lang.Object
org.springframework.ai.chat.memory.CassandraChatMemory
- All Implemented Interfaces:
ChatMemory
Create a CassandraChatMemory like
CassandraChatMemory.create(CassandraChatMemoryConfig.builder().withTimeToLive(Duration.ofDays(1)).build());
For example @see org.springframework.ai.chat.memory.CassandraChatMemory- Since:
- 1.0.0
- Author:
- Mick Semb Wever
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
CONVERSATION_TS
-
-
Constructor Details
-
CassandraChatMemory
-
-
Method Details
-
create
-
add
- Specified by:
add
in interfaceChatMemory
-
add
- Specified by:
add
in interfaceChatMemory
-
clear
- Specified by:
clear
in interfaceChatMemory
-
get
- Specified by:
get
in interfaceChatMemory
-