Skip to content

[FEATURE] RedisChatMemoryStore supports native set and get commands #433

@Xy-hub

Description

@Xy-hub

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Users can switch the implementation method of reading and writing data

Describe alternatives you've considered

I hope the implementation method in RedisChatMemoryStore can be made configurable, because based on my personal experience, the low-version native Redis does not integrate the RedisJson plugin, and I need to install this plugin separately, which adds some difficulty to my use of RedisChatMemoryStore. Therefore, I hope to add a new configuration option that uses the RedisJson commands by default, but also allows setting up to use the native String set and get commands for read and write operations.
Like this:
langchain4j:
open-ai:
redis-chat-memory:
method: json or string

Thank you

Additional context

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2High priorityP3Medium priorityenhancementNew feature or requesttheme: memory storeIssues/PRs related to memory store

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions