Inspiration
Talking with Generative AI (ChatGPT/Gemini) can be very entertaining, but can you include your friends in that conversation? Throughout this BayHacks experience, I primarily focused on creating a friendly conversation with AI and other friends. We have all used discord to stay in touch with our friends. But did you know that it is possible to use the app (discord) to also include a robot friend (BuddyBot built-in tuned GPT/Gemini) into your friend group? I have also tuned Discord in order to respond in a friendlier and in a more human way.
What it does
My bot is a virtual bot which can join each group (server) and start to continue a conversation with multiple users. It will act as another friend in the group chat rather than a robot.
How we built it
I created a bot called “BuddyBot” and made it interactable using python and Gemini API programming. Users who have added “BuddyBot” can interact with it, and it will act as a knowledgeable and friendly person. I fine-tuned it through Google AI studio, making it more friendly and less monotonous.
Challenges we ran into
As the bot becomes more popular and gets more requests, the server might not respond due to an overload. To overcome this issue, I will implement multithreading or multiprocessing in the system.
Accomplishments that we're proud of
Any Discord Server Admins can add this bot (BuddyBot) to their Discord Server and everyone in that server could be able to access it. As long as I have the bot program running on my computer, any group with my bot can be able to interact with it. The uniqueness of this project is that you can include the BuddyBot with your group of friends in a group chat. When you are talking with your friends, your buddy bot will also act as a friend and join in on the conversation. For example, Google Gemini can only conversate person to person, but BuddyBot can collaborate with a large group of people in the same group chat.
What we learned
We learned how to integrate Google Gemini into a Discord Bot and make it collaborate with multiple users on Discord.
What's next for Discord BuddyBot (Fine-Tuned) - Code for Cause
I can take this project to the next level by making it a paid project. Using OpenAI Premium costs 20 dollars per month. I can buy 1 million tokens (750k words) with ChatGPT API which will cost 10 dollars. I can sell BuddyBot for Discord Users to use the tokens into their server for only 12 dollars. Out of the 19 million discord users, if my BuddyBot is added to at least 10,000 servers, the profit will be $20,000 per month and add up to 240k per year. This profit can be given to charity and people in need of food, contributing to stop world hunger and poverty. I am currently looking for sponsors and will initiate this idea once finding them. The Discord Bot I have made as of now has features to have a lively conversation with other users. The bot I have made can be used by anyone by them simply adding it to their server. In the future, I can add more features that can make the BuddyBot more interactable and I can also train the AI and make it respond in a more efficient manner by training itself from the previous texts. It could then know what we like, and it could understand our sense of humor and other qualities. As the bot becomes more popular and gets more requests, the server might not respond due to an overload. To overcome this issue, I will implement multithreading or multiprocessing in the system.
Built With
- api
- googleai
- openai
- python
Log in or sign up for Devpost to join the conversation.