New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I implement a ChatMemoryStore to store data item by item? please help me #1027
Comments
@LiuYuPeng1101 there is a similar Please note that this is not a chat history, it is a chat memory, it does not store all the messages in the conversation, only those that fit into the configured message/token window. |
@langchain4j Thank you for the reminder. I used the following code for the dialogue with the large model: |
@LiuYuPeng1101 may I ask you why do you want to store chat messages separately? There is a |
@LiuYuPeng1101 I am closing htis issue, please use discord or discussions in the future. |
`public class PersistentChatMemoryStore implements ChatMemoryStore {
}`
As mentioned in my code above, I store all chat records in the 'content' field of a MySQL database. However, I now want to store chat records one by one. How can I implement this?
The text was updated successfully, but these errors were encountered: