Inspiration
Inspired by how chatGPT can always reply with quirky responses, we decided to leverage on it to create our own telegram chatbot that can give fun and interesting definitions to the word given by the user. Since telegram is a widely used messaging app used in local universities, we have decided to implement the chatbot using telegram bots.
The game mode is inspired from the guessing game, where one tries to describe the given word without using the word, while the others try to guess the word. However, the describer gets no mark if everyone in the game manages to guess the word in a given time. In order to prevent at least one person from guessing correctly, the describer often tries to complicate the descriptions to a point where it becomes ridiculously hard to guess.
What it does
This telegram bot offers two modes. The Define mode takes in a word that the user sends, and replies the user with a funny and weird definition of the word. The user can choose to receive a definition using only knowledge related to a specific category choose by the user. The Play mode randomly selects a word and replies the user with a funny and weird definition of the word. The user has an unlimited number of tries to guess the word from it's definition.
How we built it
We integrated GPT-3 API into telegram bot. As the user provides input, a pre-designed prompt is sent to GPT-3, where a suitable response is received by the bot and replied to the user.
- python 3.10
- BotFather to create a telegram bot and get the API token.
- openAI API (GPT-3, specifically the text-davinci-003 model)
Challenges we ran into
We had some experience using python but are unfamiliar with telegram bots and the chatGPT API. We had the opportunity to explore, design, and refine the prompt to provide the desired results.
Accomplishments that we're proud of
Completed building the McDermott and learnt what the pre-trained chatGPT can give us. Worked on python skills and project management skills
What we learned
what the pre-trained openAI can provide us with (chatGPT), and had the chance to work on python skills.
What's next for McDermott
To include more words for the guessing name and levels of hints if the user does not get it right in play mode.
Log in or sign up for Devpost to join the conversation.