Package dev.langchain4j.service
Annotation Interface MemoryId
The value of a method parameter annotated with @MemoryId will be used to find the memory belonging to that user/conversation.
A parameter annotated with @MemoryId can be of any type, provided it has properly implemented equals() and hashCode() methods.