diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat-memory.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat-memory.adoc index 00a41dab460..bdde226b2f0 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat-memory.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat-memory.adoc @@ -222,7 +222,7 @@ If you'd rather create the `CassandraChatMemoryRepository` manually, you can do [source,java] ---- ChatMemoryRepository chatMemoryRepository = CassandraChatMemoryRepository - .create(CassandraChatMemoryConfig.builder().withCqlSession(cqlSession)); + .create(CassandraChatMemoryRepositoryConfig.builder().withCqlSession(cqlSession)); ChatMemory chatMemory = MessageWindowChatMemory.builder() .chatMemoryRepository(chatMemoryRepository)