Inspiration

The greatest asset somebody can own is good health. A healthy immune system functions as an antigen, lowering the risk and severity of illness and ultimately curing it. The coronavirus served as my idea for the program because it will not affect the body if immunity is high.

What it does

The wellness application generates

  • Symptoms for the disease with explanations of how a person feels about a particular condition.
  • Foods to eat and avoid during illness.
  • Suggests herbs and how to use them to cure the disease and/or to boost the immune system.
  • Yoga poses with images to speed up the healing process.
  • Diet plans, smoothies, detox drinks, and natural remedies to fight over the condition.
  • Lifestyle tips for managing the condition.

by taking the user inputs 1. Disease 2. Age 3. Height 4. Weight 5. Blood Pressure condition 6. Diabetic Condition by submitting such a form the above output will be generated.

How we built it

Wellness has been built with Flask for the backend, using the Google Generative AI Gemini API and prompt to generate health plans and the Google Custom Search API to retrieve images of yoga poses dynamically.

Flask: To handle HTTP requests and serve web pages Google Generative AI (Gemini API): For generating detailed content based on user inputs Google Custom Search API: To fetch relevant yoga pose images based on dynamically generated pose names HTML/CSS: For the frontend, including an input form and plan rendering

Challenges we ran into

Dynamic Image Retrieval: Displaying relevant yoga pose images dynamically based on the generated text was challenging, as we had to ensure the images matched the generated yoga poses. Formatting Output: Transforming the raw text response into a visually appealing and structured format for easy readability requires extensive use of regular expressions.

Accomplishments that we're proud of

This application is user-friendly and genderless. It produces disease results according to the person's age, height, weight, blood pressure, and diabetes. Besides, it also provides immune-boosting and cautions for feminine conditions like 'Pregnancy with PCOD, Pelvic Infection, etc.' I am satisfied that the wellness application is gender equality while it is women's health rescuer from fertility support to menopause care.

What we learned

API Communication: Gained experience handling various APIs and effectively combining their responses. Error Handling: Implementing retry and timeout mechanisms for API requests taught us the importance of managing failures gracefully. Text Formatting: Learning techniques for text parsing and formatting to present AI-generated content in a user-friendly manner.

What's next for Wellness

Additional Health Features: Include mental health plans, mindfulness techniques, and fitness routines based on user data. Voice-Based Input: Allow users to provide voice inputs for their conditions and preferences. Mobile App Integration: Extend the functionality to a mobile app for easier access and interaction.

Built With

Share this project:

Updates