MediLingo+ is an AI-powered healthcare application designed to revolutionize how users access and understand medication information. By leveraging cutting-edge technologies like OCR, IBM Watson Assistant, Watson Discovery, and OpenAI’s generative AI, MediLingo+ provides actionable insights tailored to individual user needs.
-
Multiple Input Options
- Chat with IBM Watson Assistant: Get personalized, conversational responses.
- Upload a Picture: Use OCR to recognize and extract medication details from labels.
- Manual Input: Type the medication name for instant insights.
-
Tailored Medication Insights
- Provides details like ingredients, side effects, and natural alternatives.
- Tailors responses based on user-defined settings such as age, sex, medical conditions, and language preferences.
-
Reliable Data Validation
- Cross-references medication data with trusted sources, including the FDA API, for accuracy and reliability.
-
Persistent User Preferences
- Saves user settings using localStorage for a seamless and personalized experience across sessions.
-
Multilingual Support and Voice Output
- Offers information in multiple languages and includes a voice output option for improved accessibility.
-
Google Vision API
- Provides sophisticated image recognition and processing capabilities.
-
IBM Watson Assistant
- Handles conversational flow, intent detection, and personalized responses.
-
Watson Discovery
- Retrieves and indexes medical data from trusted sources.
-
Llama AI
- Generates detailed and context-aware responses, simplifying technical terms as needed.
-
FDA API
- Validates medication data to ensure accuracy and compliance.
-
localStorage
- Stores user settings persistently for a personalized experience.
-
User Interaction
- Choose one of three options:
- Chat with the assistant.
- Upload a medication label.
- Enter a medication name manually.
- Choose one of three options:
-
Processing
- Extracts the medication name using OCR or text input.
- Sends a request to retrieve medication details and validate them with the FDA API.
-
Response Delivery
- Presents tailored insights, including side effects, ingredients, and natural alternatives.
- Users can ask follow-up questions or switch to voice output for accessibility.
- Bun installed.
- Access to APIs: IBM Watson Assistant, Watson Discovery, OpenAI, FDA API.
- Clone the repository:
git clone https://github.com/mohdlatif/medilingo- cd medilingo- - Install dependencies:
bun install
- Configure API keys in a
.envfile:WATSON_ASSISTANT_API_KEY=your_watson_assistant_key WATSON_DISCOVERY_API_KEY=your_watson_discovery_key OPENAI_API_KEY=your_openai_key FDA_API_KEY=your_fda_key
- Start the application:
bun run dev
- Launch the application in your browser.
- Select an input option:
- Chat with the assistant for conversational support.
- Upload an image of a medication label for instant recognition.
- Type a medication name for manual input.
- View medication insights tailored to your profile.
- Ask follow-up questions or explore natural alternatives.
- Add a medication interaction checker for safety.
- Expand multilingual support to include more languages.
- Integrate real-time pharmacy and doctor recommendations.
We welcome contributions! Please fork the repository, make changes, and submit a pull request.
This project is licensed under the MIT License.