spring-ai
spring-ai copied to clipboard
securely encode values written to the ChatMemoryRepository
trafficstars
ship a BeanPostProcessor that proxied any ChatMemoryRepository implementations, intercepting the request to saveAll and findByConversationId and used, say, a specified Spring Security TextEncryptor to encode the text in Message objects (before saveAll) and decode the text in Message objects (after findByConversationId)