An AI-powered health assistant designed to make complex medical information accessible. This web app simplifies medical reports, answers health questions, and provides safe, actionable advice with features like a symptom planner and meal generator. It empowers users to understand their health and take a more active role in their well-being.
This application is built as a single-page web app with several key features:
- Health Chat: A conversational AI chatbot where users can ask general health-related questions.
- Medical Report Analyzer: Allows users to paste text from medical reports to get a simplified summary of key findings, explained in plain language.
- Lifestyle Advisor:
- Symptom Action Plan: Users can describe their symptoms to receive a general, safe action plan, including home care suggestions and indicators for when to see a doctor.
- AI Meal Planner: Generates a sample one-day meal plan based on the user's dietary goals, preferences, and health conditions.
- Frontend: HTML, CSS
- Logic: JavaScript
- Core AI: Google Gemini API
To get a local copy up and running, follow these simple steps.
You need a modern web browser and a code editor (like VS Code).
- Clone the repo
git clone https://github.com/Shrees1ngh/AI-Health-Care-Assistant.git
- Get a Google Gemini API Key
- Go to Google AI Studio.
- Click "Create API key" and copy the generated key.
- Add the API Key to the project
- Open the
index.htmlfile. - Find the
<script>tag at the bottom of the file. - Locate the following line:
const apiKey = ""; // Enter api key
- Paste your API key inside the quotation marks:
const apiKey = "YOUR_API_KEY_HERE";
- Open the
- Run the application with a local server
- You cannot run this project by opening the HTML file directly in the browser due to CORS policy restrictions on API requests.
- If you are using VS Code, the easiest way is to install the Live Server extension.
- After installation, right-click the
index.htmlfile and select "Open with Live Server". This will open the project in your browser on a local server.
Once the application is running in your browser:
- Use the Health Chat tab for general questions.
- Switch to the Analyze Medical Report tab to paste and simplify report text.
- Navigate to the Lifestyle Advisor tab to get a symptom action plan or generate a meal plan.
This AI is for informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition.