Logo Lanfrica

Ahmessharf/Nabd-AI

Domain:

healthcarenatural language processing

Record type:

software
Creator:
Ahm
Host:
Nabd AI is a secure medical RAG system for Egyptian healthcare that translates colloquial Arabic symptoms into clinical queries, retrieves evidence-based medical knowledge, and uses AI agents for diagnosis support, appointment booking, and hospital workflow automation with full privacy (zero-egress). # Nabd-AI: Medical-RAG Smart Hospital System Nabd-AI is a secure, production-ready **Medical Retrieval-Augmented Generation (RAG)** system tailored for the Egyptian healthcare sector. It translates colloquial Arabic symptoms into precise clinical queries, retrieves evidence-based medical knowledge, and utilizes intelligent AI agents for diagnosis support, appointment booking, and hospital workflow automation. Built with **Clean Architecture** principles, Nabd-AI enforces zero-egress data privacy to secure sensitive patient health information. --- ## πŸš€ Key Features - **Colloquial Arabic Translation**: Translates Egyptian dialect symptom descriptions into formal medical terminology and structured clinical queries. - **Multimodal Document Ingestion**: Employs **Docling (VLM)**, **EasyOCR**, and **Pillow** to dynamically parse structured JSON/CSV data and unstructured PDF medical reports. - **Clean Architecture & Decoupled Design**: A completely modular design separating API routes, business controllers, vector database adapters, and LLM providers. - **Hybrid Storage & Vector Search**: Utilizes **FAISS** vector database with **Sentence Transformers (`all-MiniLM-L6-v2`)** for ultra-fast and semantic context retrieval. - **Production-Ready FastAPI Server**: Decoupled REST endpoints allowing external frontends (e.g., React, Flutter) to integrate seamlessly. - **Automated RAG Evaluation**: Incorporates the **RAGAS framework** to continuously measure RAG quality using metrics like *Faithfulness*, *Context Recall*, *Context Precision*, and *Answer Correctness*. --- ## πŸ“‚ Project Architecture ``` d:/NABD/ β”œβ”€β”€ Data/ # Ingested datasets & source documents β”œβ”€β”€ src/ # Core application code β”‚ β”œβ”€β”€ assets/ # Static assets and archived files β”‚ β”œβ”€β”€ controllers/ # Ingest, process, and chat orchestration logic β”‚ β”‚ β”œβ”€β”€ ChatController.py β”‚ β”‚ β”œβ”€β”€ DataController.py β”‚ β”‚ └── ProcessController.py β”‚ β”œ …