Inspiration๐Ÿค“๐Ÿค“๐Ÿค“

Well, it was just a casual Devpost prize checking Thursday and I saw something different, it was a new sponsor, Cohere AI. I was actually given some Twitter sentiment analysis for my internship and I told myself I'm not going to do a hackathon this week, but I couldn't. Long story short, I was inspired by Cohere AI's motto and wanted to give it a shot, because after all hackathon is all about learning something new and having fun.

What it does โš™๏ธโš™๏ธโš™๏ธ

I made a web app using ReactJS, ExpressJS, and Cohere AI. The idea is to create a fun game for people to question/answer LGBTQ-related questions. It helps players or if there is a third person (host) to brainstorm the questions creatively by simply putting some words or topics in my instance. For example, if you want some questions related to Gay Men or Gay CEOs, you can just put that in the topic and the AI model will generate the question for you.

How we built it ๐Ÿ› ๐Ÿ› ๐Ÿ› 

I did the entire project by myself and I wish I had good teammates but couldn't find one this week. I designed the UI/UX using Adobe XD and for the coding part, I used ReactJS for the frontend, ExpressJS as my server, and Cohere AI(to generate the model and API key), and also used Windows 10 VScode. Basically, you enter some topics then Cohereโ€™s large language models read the prompt and decide what the most appropriate next tokens are to return. Then, it prompts the model to give us trivia questions.

Challenges we ran into๐Ÿšจ๐Ÿšจ๐Ÿšจ

The main problem was integrating Cohere with express to make the endpoint API calls. It was my first time using Cohere so I had a lot of issues, thankfully I got them solved. The other problem is related to hosting and I spent so many hours trying to host it on Heroku, Netlify, and GitHub. and finally due to time constraints I couldn't host it but I'll put the link to the Heroku website and try to make until the last minute.

Accomplishments that we're proud of๐Ÿ’ฐ๐Ÿ’ฐ๐Ÿ’ฐ

I'm very happy to learn about Cohere AI and its different models.

What we learned๐Ÿ”‘๐Ÿ”‘๐Ÿ”‘

This is just probably my first hackathon where I build something related to NLP and I've to say I've learned so many new things that could help me in my research internship which is actually related to NLP. I was able to read more about prompt engineering and finetuning a model. I also learned some new Adobe XD plugins.

What's next for Trivia Q๐Ÿ“ˆ๐Ÿ“ˆ๐Ÿ“ˆ

I want to incorporate game features where different people join and there will be a host and then when the questions are generated players will answer them, basically a multiple trivia questions game.

Built With

Share this project:

Updates