Inspiration
I am always enthusiastic about chatbot capabilities of gen-ai and that was my inspiration!
What it does
The chatbot is built as a discord bot and many people can talk with it and use it to ask questions, have conversations, get help with homework, etc. The bot has also support for separated conversations in different channels and threads, and also supports adding custom tuning/personalities using custom input!
How we built it
I built it using python and discord.py along with google-generativeai-python
Challenges we ran into
I wanted to make it so that many people can talk to it at the same time with preserved context. I solved it by including username and id data of the talking user to preserve context and it works beautifully!
Accomplishments that we're proud of
I managed to preserve chat data between bot restarts using python shelve module and exporting chat history, and that works very well!
What we learned
In the process, I learned about many design challenges, and I also learnt about how gen-ai models work at a more closer level.
What's next for Discord Gemini Chatbot
I want to expand it so that along with a selfhosted solution, I also have a prod version that people can simply add to their servers and have fun with it!
Built With
- discord.py
- google-generativea-python
- python
Log in or sign up for Devpost to join the conversation.