Date: January 14, 2024
Blog #2
From January 12 to January 14 2024, I attended DeltaHacks X hosted at McMaster University, which was my second ever hackathon experience. Overall I had a blast, I met so many talented individuals, I was able to get a working project demo within the limited time constraints and I learned so much. I would call that a productive weekend!
My team consisted of 4 second year computer science students, 3 from McMaster University and 1 from the University of Waterloo. For half of my team, this was their very first hackathon ever.
While our submitted project did not win any awards, we are all still proud of what we accomplished and hold onto the lessons we have learnt from this experience. The judges even personally told us that despite not winning any awards, our project definitely ranked near the top of all the projects they observed.
Our project was submitted for 2 challenges at DeltaHacks X: the best productivity hack and the best education hack. Our project aimed to reduce the multi-tasking students needed to do (especially switching tabs) when completing their university coursework. In the modern day, AI has become such a prevalent part of student life whether its to ask it to explain a concept or solve a problem. Unfortunately, university course websites such as D2L or McMaster's Avenue To Learn have not yet integrated AI into their systems to improve the convenience of students. Thus, our project aimed to harness the power of AI and create a modern day student course website that would allow students to reduce their tab switching multi-tasking efforts to increase their concentration and focus.
To do this, we used the Cohere API to act as the AI chatbot we integrated into the student course website. The API itself is already trained to explain concepts and answer questions (e.g. explain quantum physics in basic terms). We also gave the Cohere API access to data within the student course website such as their current grades in the course and upcoming assignments to allow students to simply ask our chatbot when their next assignment was due, their current grade in the course and more without needing to switch tabs!
For the front end, we used HTMX, Jinja, Tailwind and CSS to create a visually appealing design. Prior to this hackathon, I have had limited exposure to these tools so I was definitely glad to have learned something new from the people I was working with.
While learning the new front end tools for a bit was fun, my main role specifically was focused mainly on testing the Cohere API, writing short demonstration scripts to teach my team members how to use the API. We initially ran into an issue, our chatbot was giving responses far too long and would ask many follow up questions. The goal of the chatbot was to provide a short, clear and concise response to the student. After some research, I discovered you could feed the API a preamble or a statement to give Cohere an initial instruction before it started answering questions. This instantly fixed our issue.
In conclusion, I am very pleased with the way my second ever hackathon turned out. I got to meet a lot of new people, learn how to use some new tools and successfully develop a project with a very strong pitch to the judges. I hope to take this newfound knowledge with me and apply it to future hackathons and develop an even more innovative project next time.