The Hygie.ia App is an AI-powered platform that serves as a bridge between individuals and healthcare services.
- Motivation
- Features
- Technologies Used
- Architecture
- Setup and Installation
- Usage
- Example Workflow
- Contributing
- License
The app aims to address common challenges in accessing healthcare, such as:
- Long waiting times for initial assessments, especially during peak hours.
- Limited access to healthcare services in remote or underserved areas.
- Scalability issues in telehealth services that require human doctors for each interaction.
- Improve Health Datasets : our application offers the possibility to create anonymized data that can help improve our models.
- Pre-diagnostic can help pinpoints sicknesses more efficiently without the need to get a professional.
- Data Privacy and long term prediction model using reinforcement learning methods over the anonimyzed collected data.
By automating the initial assessment process, the app allows users to get timely insights into their condition and access the right care faster.
- Speech-to-text: Transcribes the call into text for further processing.
- NLP-Based Symptom Extraction: Automatically identifies and extracts symptoms from user input.
- Sentiment Analysis: Analyzes the urgency and context of the patient's descriptions.
- Condition Assessment: Suggests potential conditions based on symptoms.
- Verification Step: Allows users to verify the extracted symptoms to ensure accuracy.
- Service Recommendation: Routes users to the appropriate healthcare service or specialist based on the confirmed symptoms.
- Data Privacy: Ensures compliance with data protection regulations.
- Python: Backend and AI model implementation.
- FastAPI: Backend API for handling user interactions and processing.
- Whisper: For audio transcription and real-time speech-to-text functionality.
- Gemini Model: For extracting information from transcriptions.
- Mistral Model: For predicting potential conditions based on extracted information.
- Next.js: Frontend framework for the user interface.
- Shadcn-ui: UI components for a seamless user experience.
- Frontend: Developed with Next.js and shadcn-ui, allowing users to record their symptoms and receive real-time feedback.
- Backend: Built using FastAPI, it processes audio input through Whisper for transcription and utilizes the Gemini and Mistral models for symptom extraction and diagnosis.
- AI Models:
- Whisper for transcription.
- Gemini for symptom and sentiment extraction.
- Mistral for condition prediction based on symptoms.
- Data Flow:
- User inputs audio -> FastAPI processes and transcribes it -> AI models analyze and extract symptoms -> User verifies the symptoms -> Possible conditions are suggested -> User is directed to the right service.
- Python 3.8+
- Node.js 16+
- Docker (optional for containerized deployment)
-
Clone the Repository
git [email protected]:ClovisDyArx/hackaton_mistral_alan.git cd hackaton_mistral_alan
-
Backend Setup
- Install dependencies: TODO
pip install -r requirements.txt
- Start the FastAPI server:
python diagnostic_call/whisper_inference.py
- Install dependencies: TODO
-
Frontend Setup
- Navigate to the frontend directory:
cd frontend npm install npm run dev
- Navigate to the frontend directory:
-
Environment Variables
- Create a
.envfile in both the frontend and backend directories with necessary API keys and configurations.
- Create a
- Open the app in your browser at
http://localhost:3000/patient/submit. - Record a description of your symptoms using the voice input feature.
- The app will transcribe your input and extract symptoms and conditions.
- Verify the extracted symptoms.
- Receive recommendations for further medical action or connect to a healthcare provider.
- A user describes symptoms like "I've been feeling feverish with a sore throat."
- The app transcribes the audio and extracts symptoms such as "fever" and "sore throat."
- The user verifies the accuracy of the extracted symptoms.
- The app suggests possible conditions (e.g., flu, COVID-19) and recommends consulting a general practitioner.
- The user is directed to the appropriate service based on the analysis.
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature.
- Make your changes and test them thoroughly.
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.

