Solutionunvalidated
There is `ChatMemory` interface for it and it has implementation provided by spring boot — when User 1 asks a Java-related query, the system should reference only User 1's conversation history and not confuse it with User 2's context. Tension: How does Spring AI ensure that the correct memory or conversation history is associated with the corresponding user's prompt? Outcome: this interface uses unique conversation id to fetch user's memory and add it to user prompt.
08b3df5d-2163-4f7f-8437-930ec0250f23
There is ChatMemory interface for it and it has implementation provided by spring boot — when User 1 asks a Java-related query, the system should reference only User 1's conversation history and not confuse it with User 2's context. Tension: How does Spring AI ensure that the correct memory or conversation history is associated with the corresponding user's prompt? Outcome: this interface uses unique conversation id to fetch user's memory and add it to user prompt.