LimblessGPT is a Discord bot that can hold concurrent, cross-channel conversations using OpenAI's GPT-4 Model
If you fork this repo, run pip install -r requirements.txt
to install dependencies
If you want to have LimblessGPT in your Discord server, click here!
/welcome
introduces the bot and how to get started:
As soon as the bot enters a Discord server, it begins listening for messages in all channels that start with "Limbless,"
One of the challenges of using GPT-3 models through API calls is that conversation context can't be maintained through consecutive calls.
In other words, follow-up questions aren't really possible.
LimblessGPT, however, can store the context of previous API responses to effectively hold back-and-forth conversations, similar to ChatGPT.
By leveraging GPT-3.5-Turbo, we can open the door to concurrent conversations, where multiple users can have conversations with LimblessGPT at once — definitely appealing for collaborative-esque use cases.
Not only that, but it can also keep note of messages not addressed to it. Discord is a place where multiple people are constantly talking, and LimblessGPT keeps track of this to make responses more relevant.
Obviously, storing the context for all these messages takes up many tokens (there is a limit), so LimblessGPT can resize the context its been maintaining to answer relevantly without token overload 👇
- Application seems to be working fine even though logs show some Discord API errors; continuing to look into it