Inspiration
Do you know what to do in an emergency situation? In order to save someone who’s life is in danger, the minutes between identifying that there's a problem and the arrival of the ambulance are critical for survival. First AId was built as a tool to make each step in an emergency situation from problem identification to administering first aid to contacting the authorities simpler and accessible, even for those who do not speak English, powered by Google's artificial intelligence chatbot, Gemini.
What it does
First AId provides various tools and resources for a variety of health emergencies. The first page is a language selection screen that prompts the user to choose what language the website will be shown in. The main part allows the user to interact with Gemini to input their emergency and receive a response which gives them information identifying their issue and giving possible solutions. Additionally, accessible through the sidebar options is a map of nearby hospitals, as well as quick tutorials on first aid for common health emergencies.
How we built it
First AId was coded using HTML, CSS, and Javascript. We used VSCode for editing our code and used common plug-ins and extensions in order to view our webpage. We used GitHub and VSCode's LiveShare in order to work collaboratively on the code.
Challenges we ran into
The biggest challenge for this project was the implementation of Gemini's AI through their API. Specifically, we had many errors popping up due to issues with importing and packaging our code. In total, we spent over 8 hours trying to get that to work, we felt especially hopeless at around 5 pm after spending 7 hours cycling through different error messages.
Accomplishments that we're proud of
Getting Gemini working with our website was the biggest accomplishment considering how long we had spent on it. However, getting the webpage properly formatted and functioning was also a pretty big accomplishment.
What we learned
Hackathons are very fun!! Most of our team is made up of beginners, so spending over 12 hours coding was definitely a new experience, but an amazing one for sure. We learned a lot about implementing APIs and on working with AI to help us with coding. We also learned how to efficiently divide work and support each other even when things were frustrating or difficult.
What's next for First AId
We want to add more accessibility options. Although we have voice to text, we also want to include text to speech for the visually impaired. Also, we would like to implement a way to track an ambulance while it is on the way to you (similar to how you could track an uber), although that would require a lot of technical things outside of just code to properly function.
Built With
- chatgpt
- css
- gemini
- html5
- javascript
- vscode
Log in or sign up for Devpost to join the conversation.