Inspiration
Students struggle constantly when they don't have the right resources at the right time. Especially if most of this resources cost money, such as monthly paid online services. And by not having them, it creates problems for their grade and mental health when deadlines are due soon. We created this bot so students don't have to constantly worry while doing homework or studying. They will have a powerful tool in their hands at any moment.
What it does
The user will ask the bot a question with a specific subject in mind. Using AI, the DenMaster will return a specific answer for their question that will be either verified by a professor so they get more accurate answers or generated by the AI. The Discord interface would help the student check for questions asked in the past and also check other users have asked the same question before.
How we built it
The student gives a prompt to the Discord bot. The bot would first check if the same question has been asked before, which is all saved in a database using mongodb API. If the question has never been asked before, then using OpenAI GPT-3 with the text-davinci-002 model, the bot would look for an answer for the question and finally prompt it to the student. Lastly, the bot would send the same question and answer to the verify answer chat, where a teacher/professor would make sure that the answer is correct so it can be used in the future.
Challenges we ran into
Implementing all these different API's and technologies was one of our first challenges. The more we implemented, the more complex it became. Also, checking to see if the bot wasn't giving incorrect answers was another one of our issues, as AI can sometimes have errors which we try to clear by setting up the answer verification chat. This was also complicated, as it is hard to read specific emojis for specific actions and then create a solution that satisfies the idea that we had from the beginning.
Accomplishments that we're proud of
Setting up a working bot that will help more students in the future is something that we were amazed to do. Simply thinking that we created a tool that allows easy interaction between student and AI is something that one normally doesn't even imagine to do most of the time. Also being able to connect all these different API's to work in one flow was an exciting experience.
What we learned
We learned how the Discord.js works, all different functions and details that need to be carefully set up to create a bot. Also learning that there are such powerful tools like OpenAI davinci model that has so many features and abilities to solve different problems in so many different subjects. Understanding how to use mongodb so we can have a lasting database to save verified questions and answers for future use.
What's next for DenMaster
Add more subjects for the Discord bot to use that way people have more possibilities to get helped into different specific answer. Implement better AI for text comparison that way if people ask a question that is not the same but it is similar than other question that have been asked before use that same answer that will be possibly verified. Deeper help into specific problems of the subjects that the bot is already working with such as graphing a 3d vector field.
Built With
- ai
- databases
- discord.js
- github
- javascript
- json
- mongodb
- openai
- visual-studio
- webstorm
Log in or sign up for Devpost to join the conversation.