Skip to content

Scriptize/LimblessGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LimblessGPT

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!

Usage ⚙️

/welcome introduces the bot and how to get started:

image

How it works 🤔

As soon as the bot enters a Discord server, it begins listening for messages in all channels that start with "Limbless,"

image

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.

See the following conversation about SQL Databases 👇

image

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.

The following image highlights this 👇

image

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 👇

image

Developer Notes 📝

  • Application seems to be working fine even though logs show some Discord API errors; continuing to look into it

About

Discord Bot that uses OpenAI's GPT-3.5-Turbo model to provide virtual assistance

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages