Skip to content

josephmasson26/DiagnoseMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiagnoseMe

DiagnoseMeLogo2

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.

Features

  • 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.

Installation

Frontend

  1. Clone the repository to your local machine.
  2. Navigate to the DiagnoseMeApp directory.
  3. Run npm install --force to install the necessary dependencies.
  4. Start the application with npm start.

Backend

  1. Install the necessary Python packages with pip install openai flask.
  2. Start the server with python3 main.py.

Large Language Model

  1. Make an account on OpenAI Platform
  2. Create a new secret API key
  3. Change .env_sample file to .env
  4. Replace YOUR KEY with your new secret key surrounded by single quotes

Usage

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.

Built With

  • 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.

DataFrame

Data

Gallery

Acknowledgements

This project makes use of numberous React components. We thank the developers of these components and acknowledge their impact on this project.

React Fade-In

Gooey Button

React-Chatbot-Kit

React-Stars

Contributing

We welcome contributions! Please see our Contributing Guide for more details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

logo