spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

securely encode values written to the ChatMemoryRepository

Open joshlong opened this issue 6 months ago • 1 comments
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)

joshlong avatar May 03 '25 03:05 joshlong