Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,38 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: red
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
| 9 |
-
short_description: 'AI-Powered Cardiac Diagnostic Assistant with RAG '
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: CardioQA AI System
|
| 3 |
+
emoji: π«
|
| 4 |
+
colorFrom: blue
|
| 5 |
colorTo: red
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# CardioQA - AI-Powered Cardiac Diagnostic Assistant π«
|
| 12 |
+
|
| 13 |
+
Professional cardiac health assistant powered by **RAG** (Retrieval-Augmented Generation), **ChromaDB**, and **Google Gemini 2.0**.
|
| 14 |
+
|
| 15 |
+
## π Features
|
| 16 |
+
- π« **364+ cardiac medical Q&As** - Comprehensive knowledge base
|
| 17 |
+
- π€ **AI-powered responses** with Google Gemini 2.0 Flash
|
| 18 |
+
- π‘οΈ **Medical safety validation** - Emergency detection & warnings
|
| 19 |
+
- π **Confidence scoring** - Dynamic response quality metrics
|
| 20 |
+
- β‘ **Real-time semantic search** - ChromaDB + Sentence Transformers
|
| 21 |
+
- π― **Professional safety features** - Medical disclaimers & consultation recommendations
|
| 22 |
+
|
| 23 |
+
## π API Endpoints
|
| 24 |
+
- **`/`** - API information & status
|
| 25 |
+
- **`/health`** - System health check & database status
|
| 26 |
+
- **`/query`** - Ask cardiac health questions (POST)
|
| 27 |
+
- **`/docs`** - Interactive FastAPI documentation
|
| 28 |
+
- **`/stats`** - System statistics & model information
|
| 29 |
+
|
| 30 |
+
## π οΈ Built With
|
| 31 |
+
- **Backend:** FastAPI + Uvicorn
|
| 32 |
+
- **AI Model:** Google Gemini 2.0 Flash
|
| 33 |
+
- **Vector Database:** ChromaDB with persistent storage
|
| 34 |
+
- **Embeddings:** Sentence Transformers (all-MiniLM-L6-v2)
|
| 35 |
+
- **Safety:** Custom medical validation system
|
| 36 |
+
- **Deployment:** Docker + HuggingFace Spaces
|
| 37 |
+
|
| 38 |
+
## π System Architecture
|