From 401dbd828bbc0203011009126b22e8c8d4c420a9 Mon Sep 17 00:00:00 2001 From: SHREY Date: Mon, 9 Dec 2024 20:43:48 +0000 Subject: [PATCH] Upload files to "/" --- README.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9497493 --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# DigiDoctor: AI-Powered Medical Assistant + +DigiDoctor is a medical chatbot powered by **Retrieval-Augmented Generation (RAG)**. It uses the **MedQuAD dataset** for retrieval and **Llama3.2** (via Ollama) for generating real-time AI responses. + +## Features +- Intelligent medical assistant using a RAG pipeline. +- Provides reliable responses based on the MedQuAD dataset. +- Real-time streaming of AI-generated answers via Ollama. + +--- + +## Prerequisites +- Python 3.8 or later. +- **[Ollama](https://ollama.ai)** installed and running on `http://localhost:11434`. + +--- + +## Installation and Setup + +### 1. Clone this repository: +git clone https://git.digimantra.com/SHREY/DigiDoctor.git +cd DigiDoctor + + +## 2. Install dependencies: +pip install -r requirements.txt + + +## 3. Start the Ollama server: +ollama serve + + +## 4. (Optional) Generate FAISS index if not already present: +If the medquad_index.faiss file is missing or needs to be rebuilt: +python3 preprocess.py + + +## 5. Running the Application +Start the Streamlit app: +streamlit run app.py \ No newline at end of file