Skip to content

Commit fc3d887

Browse files
sunyuhan1998Willam2004
authored andcommitted
fix: Fix the error in the ChatMemory documentation regarding the example code for CassandraChatMemoryRepository. (spring-projects#4476)
Auto-cherry-pick to 1.0.x Fixes spring-projects#4476 Signed-off-by: Sun Yuhan <[email protected]> Co-authored-by: Sun Yuhan <[email protected]> Signed-off-by: 家娃 <[email protected]>
1 parent 32925e2 commit fc3d887

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)