Spaces:
Build error
Build error
Update README.md
Browse files
README.md
CHANGED
@@ -1,2 +1,38 @@
|
|
1 |
-
|
2 |
-
Medical RAG
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Medical RAG with Meditron-7B-LLM
|
3 |
+
emoji: π
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: indigo
|
6 |
+
sdk: docker
|
7 |
+
sdk_version: 20.10.17
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
license: apache-2.0
|
11 |
+
short_description: A specialized AI assistant for medical information retrieval
|
12 |
+
---
|
13 |
+
|
14 |
+
# Medical RAG QA System
|
15 |
+
|
16 |
+
A Retrieval-Augmented Generation (RAG) system for medical question answering using:
|
17 |
+
- Meditron-7B LLM
|
18 |
+
- Qdrant Vector Database
|
19 |
+
- PubMedBERT Embeddings
|
20 |
+
|
21 |
+
[](https://opensource.org/licenses/Apache-2.0)
|
22 |
+
[](https://huggingface.co/joshnader/meditron-7b-Q4_K_M-GGUF)
|
23 |
+
|
24 |
+
## Features
|
25 |
+
- PDF document ingestion
|
26 |
+
- Semantic search with medical embeddings
|
27 |
+
- LLM-powered question answering
|
28 |
+
- Source document citation
|
29 |
+
|
30 |
+
## π Usage
|
31 |
+
|
32 |
+
1. **Query Interface**:
|
33 |
+
```python
|
34 |
+
import requests
|
35 |
+
|
36 |
+
response = requests.post("https://d221/Qdrant_Backend.hf.space/get_response",
|
37 |
+
data={"query": "What are the symptoms of diabetes?"})
|
38 |
+
print(response.json())
|