kevinthedang / discord-ollama

Discord Bot that utilizes Ollama to interact with any Large Language Models to talk with users and allow them to host/create their own models.
Creative Commons Attribution 4.0 International
45 stars 5 forks source link

Ollama Chat Threads #13

Closed kevinthedang closed 1 month ago

kevinthedang commented 5 months ago

Steps to Reproduce

image

Ideas

image

kevinthedang commented 4 months ago

Just found this out while testing out the slash command:

The Client Class found in the discord.js docs lists all of their interactions and brief descriptions of how they work.

image

kevinthedang commented 3 months ago

Since we are dealing with channels that are "valid", meaning they are still up and being used, we need a way to store them:

I thought about:

  1. Storing via json file, editing and removing from it. We can already do that like with the config so it's possible. What is also cool is that we can create configs for different users and put it in their threads/channels/servers so different for each type. What differs between them? Not sure! We'll figure that out later.
  2. Some kind of external service, but it would be nice to not depend on other services and only depend on the discord.js package development to reduce dependencies.
kevinthedang commented 3 months ago

Just had a thought:

kevinthedang commented 3 months ago

Another thing is when a thread is created these appear:

image

Should we clean this up using the bot or should we leave them there. @JT2M0L3Y Deleting these do not delete the thread.

JT2M0L3Y commented 3 months ago

@kevinthedang I think users should be allowed multiple threads. We should clean up the remnant thread messages in the main channel stream.

kevinthedang commented 3 months ago

@JT2M0L3Y New Idea for this...

We allow threads to be created everywhere, but the bot can no longer talk in channels.

The only exception for this is in #43 as the bot would talk in a regular public channel.

JT2M0L3Y commented 3 months ago

Definitely.

kevinthedang commented 2 months ago

Extra Stuff

kevinthedang commented 1 month ago

Thoughts:

@JT2M0L3Y