Skip to content

drankush/MIRACLE-ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIRACLE-ChatBot 🌟

MIRACLE API Chatbot for Pediatric CMR

SCMR 2026 Open Source License: MIT MIRACLE API Netlify Demo Inference LLM

Interactive chat interface for interpreting pediatric cardiac MRI measurements using evidence-based reference values.

Live Demo: miracle-chat.netlify.app

Netlify Status

🎯 SCMR 2026 Open Source Innovation Submission

This web application demonstrates the practical implementation of the MIRACLE API using functional tool calling by LLMs by fetching reference values for pediatric cardiovascular magnetic resonance (CMR) through an intuitive chat interface.

Key Features

  • 🤖 Natural language processing of clinical measurements
  • 📊 Real-time z-score and percentile calculations
  • 📈 Evidence-based reference values via MIRACLE API
  • 🔄 Functional tool calling architecture
  • 🌐 Serverless deployment with secure API handling

🔗 View Full API Documentation

🚀 Quick Deploy

  1. Fork & Clone

    git clone https://github.com/drankush/MIRACLE-ChatBot.git
    cd MIRACLE-ChatBot
  2. Setup Netlify

    • Create a Netlify account
    • Connect your GitHub repository
    • Configure build settings:
      • Publish directory: public
      • Functions directory: netlify/functions
  3. Environment Variables

    • Add in Netlify dashboard:
      GROQ_API_KEY=<your-groq-api-key>
      

🔑 API Keys

  • GROQ API: Obtain key from groq.com
  • MIRACLE API: Public API, no key required

🛠️ Technical Details

Supported Parameters

  • Atrial Volumes (LAV, RAV)
  • Ventricular Volumes (LVEDV, LVESV, RVEDV, RVESV)
  • Ventricular Function (LVSV, RVSV, LVEF, RVEF)
  • Myocardial Mass (LVM, RVM)

Model Requirements

If modifying the LLM:

  • Must support OpenAI-compatible function calling
  • Recommended: Use models with medical domain knowledge
  • Current: GROQ LLaMA 3.3 70B

🔄 Future Extensions

  • Integration with vascular MR parameters
  • Support for additional MIRACLE API endpoints
  • Enhanced visualization options
  • Multi-language support

📚 Documentation

🔬 Scientific Background

This tool implements reference values from peer-reviewed publications in pediatric cardiovascular magnetic resonance, making them accessible through a modern interface.

⚖️ License

MIT License - see LICENSE

📝 Note

This is a demonstration project. For clinical use, always verify calculations and consult appropriate medical professionals.


Made with ❤️ for the CMR Community

About

Demonstrating practical application of MIRACLE API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published