Doctors spend too much time typing on computers instead of talking to patients. DrAssist fixes this problem. It connects modern AI (Artificial Intelligence) tools with the paper forms doctors use every day. It helps doctors create prescriptions and medical letters automatically, so they can focus on caring for people.
- Accuracy: Put text in the exact right spot on the paper (down to the millimeter) so it prints perfectly.
- Privacy: Keep all patient information safe on the doctor's own computer. Nothing is sent to the internet.
- Ease of Use: Make a system where doctors can drag and drop boxes on the screen to design their own forms without needing a programmer.
- Instant Voice-to-Document Conversion: Transform spoken input into polished, professional medical prescriptions through a seamless end-to-end workflow.
- Precision Voice Capture: Advanced audio intake technology ensures every word is recorded clearly and accurately — reducing errors and rework.
- Drag-and-Drop Editor: A simple tool to move text boxes around on a digital version of the doctor's letterhead.
- AI - powered solution: A smart AI tool that helps doctors automate medical paperwork and focus more on patients.
- Instant PDF: Creates a printable PDF file immediately in the browser.
Before you start, make sure you have these free tools installed on your computer:
- Node.js: (Version 18 or newer) - This runs the website code.
- npm: (Version 9 or newer) - This installs the helper tools.
- Python: (Version 3.10 or newer) - This is only needed if you want to download the AI models to your computer.
- Ollama - Download and install Ollama to run the medical AI models locally on your computer.
To get the project files onto your computer, follow these steps:
-
Download the Code: Open your terminal (command line) and type the following command to download the repository:
git clone [https://github.com/Kavin-Aarya/DrAssist.git](https://github.com/Kavin-Aarya/DrAssist.git)
-
Go into the Folder: Move into the project directory so you can start working:
cd DrAssist
Now that you have the files, install the necessary software and start the app:
-
Install packages: Install the packages needed for this software by typing this:
npm install react react-dom react-router-dom fabric jspdf html2canvas react-to-print @headlessui/react @heroicons/react vite tailwindcss @tailwindcss/vite eslint @eslint/js @vitejs/plugin-react globals @types/react @types/react-dom eslint-plugin-react-hooks eslint-plugin-react-refresh
pip install torch transformers huggingface_hub flask flask-cors python-dotenv librosa soundfile ollama
-
Download Mistral 7B model: First, you must ensure the model is downloaded on your machine. Open your terminal and run:
ollama pull mistral:7b-instruct-v0.3-q8_0
-
Set up the Keys: Create a .env file with this line:
HF_TOKEN="Your_hugging_face_access_token" -
Download medASR: Run the File by typing:
python3 medasrdownload.py
Now, Google medASR model will be downloaded.
-
Run the python server Start the python server using this command:
python3 llmfile.py
-
Start the Frontend Website Run the software using this command:
npm run dev