Skip to content

Commit c2e6bb2

Browse files
sunyuhan1998spring-builds
authored andcommitted
fix: Fix the error in the ChatMemory documentation regarding the example code for CassandraChatMemoryRepository. (#4476)
Fixes #4476 Signed-off-by: Sun Yuhan <[email protected]> Co-authored-by: Sun Yuhan <[email protected]> (cherry picked from commit 93cf476)
1 parent cd1474f commit c2e6bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat-memory.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ If you'd rather create the `CassandraChatMemoryRepository` manually, you can do
222222
[source,java]
223223
----
224224
ChatMemoryRepository chatMemoryRepository = CassandraChatMemoryRepository
225-
.create(CassandraChatMemoryConfig.builder().withCqlSession(cqlSession));
225+
.create(CassandraChatMemoryRepositoryConfig.builder().withCqlSession(cqlSession));
226226
227227
ChatMemory chatMemory = MessageWindowChatMemory.builder()
228228
.chatMemoryRepository(chatMemoryRepository)

0 commit comments

Comments
 (0)