Inspiration
LunaCare is a project inspired by my wife's and my sisters' experience of managing menstruation. This tool is dedicated to all women to help them overcome this period which can sometimes be too painful, by suggesting behaviors to adopt and nutrition to respect so as not to suffer too much. The tool also provides analysis and advice on the symptoms women may experience during this period. But it also offers the possibility of generating an ovulation calendar for better monitoring, with the option of saving the various dates in the Google calendar for reminders.
Challenge
The APIs work very well, but they are slow in getting a response, and some of the links generated are not correct. This is something I'm continuing to work on in order to complete this project, as I found out about this hackathon at the last minute and only had a week to produce something.
Learning
A week full of learning and challenges. It's my first time working on a project with an AI, I've learned a lot and this project has enabled me to improve my knowledge of JavaScript. I can't wait for the APIs to be fluent in response time so that I can integrate them into some of the hospital management projects I'm working on.
In this project, I used two of the features available in the Chrome Built-In AI: Prompt API and Summarization API.
- Prompt API was used to generate responses to various user concerns
- Summarization API was used to summarize the various links that could be proposed in the response. Exemple of code
const response = await aiSession.prompt(message);
removeThinking(); // Remove "Thinking..." once the response is ready
addMessage(DOMPurify.sanitize(marked.parse(response)));
addSummarizeButtons();
Next step
Develop a platform for sharing experiences between women everywhere, because sharing is a better ally. Expected features:
- Automatic translation
- Summary of themes
- Chat
- Forum

Log in or sign up for Devpost to join the conversation.