cardioqa-ai-system / README.md
Novoo5's picture
Update README.md
0aac165 verified
metadata
title: CardioQA AI System
emoji: πŸ«€
colorFrom: blue
colorTo: red
sdk: docker
pinned: false
license: mit

CardioQA - AI-Powered Cardiac Diagnostic Assistant πŸ«€

Professional cardiac health assistant powered by RAG (Retrieval-Augmented Generation), ChromaDB, and Google Gemini 2.0.

🌟 Features

  • πŸ«€ 364+ cardiac medical Q&As - Comprehensive knowledge base
  • πŸ€– AI-powered responses with Google Gemini 2.0 Flash
  • πŸ›‘οΈ Medical safety validation - Emergency detection & warnings
  • πŸ“Š Confidence scoring - Dynamic response quality metrics
  • ⚑ Real-time semantic search - ChromaDB + Sentence Transformers
  • 🎯 Professional safety features - Medical disclaimers & consultation recommendations

πŸš€ API Endpoints

  • / - API information & status
  • /health - System health check & database status
  • /query - Ask cardiac health questions (POST)
  • /docs - Interactive FastAPI documentation
  • /stats - System statistics & model information

πŸ› οΈ Built With

  • Backend: FastAPI + Uvicorn
  • AI Model: Google Gemini 2.0 Flash
  • Vector Database: ChromaDB with persistent storage
  • Embeddings: Sentence Transformers (all-MiniLM-L6-v2)
  • Safety: Custom medical validation system
  • Deployment: Docker + HuggingFace Spaces

πŸ“Š System Architecture

User Query β†’ Semantic Search (ChromaDB) β†’ Context Retrieval β†’ Gemini AI Generation β†’ Safety Validation β†’ Response + Disclaimers

⚠️ Medical Disclaimer

This system provides educational information only. Always consult qualified healthcare professionals for medical advice, diagnosis, or treatment. For medical emergencies, contact emergency services immediately.

πŸ‘¨β€πŸ’» Developer

Built by Novonil Basak - AI/ML Engineer & Biotechnology Student