Skip to content
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

Storing Data Using a Redis Database #57

Open
kevinthedang opened this issue May 3, 2024 · 1 comment · May be fixed by #133
Open

Storing Data Using a Redis Database #57

kevinthedang opened this issue May 3, 2024 · 1 comment · May be fixed by #133
Assignees
Labels
enhancement New feature or request technical Non-business related

Comments

@kevinthedang
Copy link
Owner

Issue

  • Currently, message history is not stored externally and preferences are just stored as JSON within the container.
  • Without volumes the data wont persist (we do use volumes) but it would be nice to separate loading all of the data in the discord container.

Solution

  • Implement means to utilize Redis as our way of storing information rather than storing it in the discord container or as .json for local runs.
  • Refer to Ollama Chat Threads #13 for some info on redis, specifically here
  • Below, this config file does not persist if a container is destroyed without a volume (should be fine if there is a volume...)

image

@kevinthedang kevinthedang added the enhancement New feature or request label May 3, 2024
@JT2M0L3Y JT2M0L3Y self-assigned this Jun 11, 2024
@kevinthedang kevinthedang added the technical Non-business related label Sep 19, 2024
@JT2M0L3Y
Copy link
Collaborator

Here's a small insight into how this could be useful:
Explanation of Caching with Redis

@JT2M0L3Y JT2M0L3Y linked a pull request Nov 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request technical Non-business related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants