Neo4jChatMemoryRepository is a Spring AI ChatMemoryRepository implementation that stores conversational history in Neo4j, allowing chat memory to outlast application restarts. section 5.4.1
Add the repository to a Spring Boot application in three steps:
- Inject the autoconfigured ChatMemoryRepository into MessageWindowChatMemory. section 5.4.1
Inspecting stored conversations
Run Neo4j alongside the application, connect it through Spring properties, and inspect one or multiple persisted conversations in Neo4j Browser.
