team-hunting / DiscordBot-NodeJs

0 stars 1 forks source link

Discord Bot + ChatGPT #2

Open erondpowell opened 1 year ago

erondpowell commented 1 year ago

This tutorial shows you how to train chatGPT to scrape site content and train a model to talk about that site content. It'd be super cool to make a discord bot that does this. I have the FT dictionary I'm working on right now, but I could also spend a few hrs a week on this. Good practice with the chatGPT API. Super fun. And a very useful end-result!

https://platform.openai.com/docs/tutorials/web-qa-embeddings

TravisHunting commented 1 year ago

I would suggest as an alternative: an addition to this repo (or the discord-bot-python) repo which persists message content either from admin or all users. A secondary repo with the chatgpt training code using the persisted message data. And then an integration with the trained chatgpt model into this repo (or the python one)

erondpowell commented 1 year ago

@TravisHunting That sounds great! Keep it separated and/or modular 👍

which persists message content either from admin or all users.

What were you thinking to implement this part? I'm guessing another DB? Or??

Another thought I just had:

  1. Discord already saves all messages.
  2. You can very efficiently search these msgs, so they must have a solid indexing system.

I think we may want to tap into the Discord system, instead of "re-persisting" it. It also depends on how the ChatGPT api works.