Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
@@ -10,4 +10,51 @@ pinned: false
|
|
10 |
license: mit
|
11 |
---
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
10 |
license: mit
|
11 |
---
|
12 |
|
13 |
+
# MedMind: AI-Powered Medical Chatbot
|
14 |
+
|
15 |
+
MedMind is an advanced Retrieval Augmented Generation (RAG) chatbot designed to provide reliable and informative responses to your medical inquiries.
|
16 |
+
|
17 |
+
## Features
|
18 |
+
|
19 |
+
* **Answers General Medical Questions:** Utilizes a curated medical knowledge base and advanced language models to answer a wide range of health-related questions.
|
20 |
+
* **Summarizes Research Articles:** Retrieves and summarizes relevant research articles from PubMed, making complex scientific information more accessible.
|
21 |
+
* **Offers Additional Insights:** Provides context and insights from its knowledge base to enhance understanding.
|
22 |
+
* **Safe Web Searches:** Performs safe web searches using the Google Search API, ensuring the safety and relevance of the results.
|
23 |
+
* **Hallucination Evaluation:** Employs a model to minimize the risk of generating fabricated information.
|
24 |
+
|
25 |
+
## Technology Stack
|
26 |
+
|
27 |
+
* **Streamlit:** For building the user interface.
|
28 |
+
* **LlamaIndex:** For indexing and querying data.
|
29 |
+
* **Vectara:** As a vector database for storing and retrieving medical knowledge.
|
30 |
+
* **TogetherLLM:** Large language model for generating responses and summaries.
|
31 |
+
* **LangChain:** For building question-answering chains.
|
32 |
+
* **Chroma:** For indexing and querying uploaded documents.
|
33 |
+
* **Hugging Face Transformers:** For embeddings and hallucination evaluation.
|
34 |
+
* **PubMed API:** For searching and retrieving research articles.
|
35 |
+
* **Google Search API:** For performing safe web searches.
|
36 |
+
|
37 |
+
## Limitations
|
38 |
+
|
39 |
+
* Not a substitute for professional medical advice.
|
40 |
+
* Information is for general knowledge and educational purposes only.
|
41 |
+
* Under development and may occasionally provide inaccurate or incomplete information.
|
42 |
+
* Potential for hallucinations, especially for complex queries.
|
43 |
+
|
44 |
+
## Installation and Running
|
45 |
+
|
46 |
+
1. **Clone the repository:** `git clone https://github.com/your-username/MedMind.git`
|
47 |
+
2. **Install dependencies:** `pip install -r requirements.txt`
|
48 |
+
3. **Set up environment variables:** Refer to the `.env.example` file and create a `.env` file with your API keys.
|
49 |
+
4. **Run the Streamlit app:** `streamlit run medmind.py`
|
50 |
+
|
51 |
+
|
52 |
+
## Contributing
|
53 |
+
|
54 |
+
Contributions are welcome! Please refer to the contributing guidelines.
|
55 |
+
|
56 |
+
## License
|
57 |
+
|
58 |
+
This project is licensed under the MIT License.
|
59 |
+
|
60 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|