DiagnoseMe is an interactive chatbot application designed to simulate patient interactions. It leverages the power of AI to generate responses based on a variety of medical conditions, providing a user-friendly interface for medical students to practice their diagnostic skills.
- Interactive Chatbot: Simulates patient interactions, providing a realistic environment for medical students to practice their diagnostic skills.
- AI-Powered Responses: Utilizes OpenAI's ChatGPT to generate responses based on a variety of medical conditions.
- User-Friendly Interface: Provides a smooth and intuitive user experience, making it easy for users to interact with the chatbot.
- Clone the repository to your local machine.
- Navigate to the
DiagnoseMeApp
directory. - Run
npm install --force
to install the necessary dependencies. - Start the application with
npm start
.
- Install the necessary Python packages with
pip install openai flask
. - Start the server with
python3 main.py
.
- Make an account on OpenAI Platform
- Create a new secret API key
- Change .env_sample file to .env
- Replace YOUR KEY with your new secret key surrounded by single quotes
After starting the application, interact with the chatbot by typing your queries into the chat interface. The chatbot will respond with AI-generated responses based on the input.
- Flask: A lightweight web server used to host the OpenAI API. Flask's simplicity and flexibility make it a great choice for serving our AI-generated responses.
- Electron: A framework for creating native applications with web technologies like JavaScript, HTML, and CSS. Electron is used to build the user interface of DiagnoseMe, providing a smooth and intuitive user experience.
- OpenAI's ChatGPT: An AI model developed by OpenAI. ChatGPT is used to generate the responses for our simulated patient, providing realistic and varied interactions for users.
- JavaScript: The primary programming language used in DiagnoseMe. JavaScript powers the interactive elements of the application, including the chatbot interface.
- HTML/CSS: Used to structure and style the user interface of DiagnoseMe.
- npm: A package manager for JavaScript, used to manage the project's dependencies.
This project makes use of numberous React components. We thank the developers of these components and acknowledge their impact on this project.
We welcome contributions! Please see our Contributing Guide for more details.
This project is licensed under the MIT License - see the LICENSE file for details.