Skip to content

Commit 93cf476

Browse files
authored
fix: Fix the error in the ChatMemory documentation regarding the example code for CassandraChatMemoryRepository. (#4476)
Auto-cherry-pick to 1.0.x Fixes #4476 Signed-off-by: Sun Yuhan <[email protected]> Co-authored-by: Sun Yuhan <[email protected]>
1 parent 92ec7e9 commit 93cf476

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)