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
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CONVERSATION_TS
-
-
Constructor Details
-
CassandraChatMemory
-
-
Method Details
-
create
-
add
- Specified by:
addin interfaceChatMemory
-
add
- Specified by:
addin interfaceChatMemory
-
clear
- Specified by:
clearin interfaceChatMemory
-
get
- Specified by:
getin interfaceChatMemory
-