Expected Behavior When I build and invoke a ChatClient like this:
ChatClient client = ChatClient.builder(chatModel)
.defaultAdvisors(chatMemoryAdvisor, qaAdvisor)
.build();
chatClient
.prompt()
.user(question)..call()
.chatClientResponse();
I would like the ChatResponse (or a companion API) to include metadata about the memory-record insertion that just occurred in the Spring_AI_Chat_memory table—at minimum the generated record’s timestamp, and optionally any custom fields I’ve configured (e.g. trace IDs, session markers, etc.). Current Behavior
At present,There is no way to retrieve the underlying memory‐table record’s ID, timestamp, or any additional columns I may have stored.
Context
My goal is to enable user feedback on the current message, so I need some metadata information about the current message