AI Future is an intelligent healthcare assistant that combines advanced AI diagnostics with voice interaction capabilities. It provides quick medical assessments through both text and voice conversations, maintains patient history, and offers immediate access to healthcare professionals when needed.
-
🗣️ Voice Interaction:
- Natural conversation with AI doctor
- Speech-to-text for symptom description
- Text-to-speech for doctor's responses
- Real-time voice recording and playback
-
🤖 Smart Symptom Analysis:
- AI-powered symptom evaluation
- Medical terminology with plain language explanations
- Concise, focused follow-up questions
- Clear diagnostic assessments
-
📊 Comprehensive Assessment:
- Severity scale (1-10)
- Duration tracking
- Color-coded risk levels
- Life-threatening condition alerts
-
👨⚕️ Virtual Doctor Access:
- Automatic consultation scheduling for medium/high risk cases
- Video call appointments with Dr. AIbert
- Urgent care location finder
- Quick emergency response system
-
📝 Patient Management:
- Detailed patient history tracking
- Insurance information management
- PDF report generation
- Secure local data storage
- Python 3.7 or higher
- pip package manager
- Microphone for voice interaction
- Speakers for audio playback
- Clone the repository:
git clone https://github.com/yourusername/AI_Future.git
cd AI_Future- Install required dependencies:
pip install -r requirements.txt- Set up your environment variables:
- Create a
.envfile in the root directory - Add your Gemini API key:
- Create a
GEMINI_API_KEY=your_api_key_here- Run the application:
streamlit run app.py-
Choose Interaction Method:
- 💬 Talk to Doctor: Natural voice conversation
- 📝 Text Description: Written symptom description
-
Voice Interaction Mode:
- Click "Start Recording" to speak
- Describe your symptoms naturally
- Click "Stop Recording" when finished
- Listen to doctor's response
- Continue conversation as needed
-
Text Description Mode:
- Enter detailed symptom description
- Rate severity (1-10)
- Specify symptom duration
- Get instant diagnosis and recommendations
-
Review and Action:
- View color-coded risk assessment
- Schedule video consultation if needed
- Access urgent care locations
- Download PDF summary
- Frontend: Streamlit
- Voice Processing:
- PyAudio for recording
- SpeechRecognition for text conversion
- gTTS for text-to-speech
- Playsound for audio playback
- AI Integration: Google Gemini API
- PDF Generation: FPDF
- Data Storage: Local JSON files
[Coming Soon]
Contributions are welcome! Please read the contribution guidelines first.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Gemini API for AI capabilities
- Streamlit for the web framework
- PyAudio and related libraries for voice processing
- Open-source community for various dependencies
For support, please open an issue in the GitHub repository or contact the maintainers.
Made with ❤️ by Rahul