ai newsSo., 1. Nov.
EilmeldungPyTorch Explained: Machine Learning You Can Watch Learn

Raktsetu: Autonomous Hyperlocal Emergency Blood Grid with YugabyteDB & Retell AI

What I Built In acute trauma emergencies, maternal hemorrhages, and cardiac surgeries, every 60 seconds of transfusion delay increases patient mortality by up to 5% . In India alone, over 1.4 million clinical blood units fall short every year. In metropolitan regions like Delhi NCR, finding rare bl

dev.toSonntag 11:28 · 01.11.4 Min. Lesezeit
Bild: dev.to

In acute trauma emergencies, maternal hemorrhages, and cardiac surgeries, every 60 seconds of transfusion delay increases patient mortality by up to 5%. In India alone, over 1.4 million clinical blood units fall short every year. In metropolitan regions like Delhi NCR, finding rare blood units ( O-, AB-, B- ) during the critical "Golden Hour" (the first 30–60 minutes after trauma) is a chaotic, fragmented nightmare.

Today, family members waste 2 to 4 desperate hours calling blood banks and begging for replacement donors. Meanwhile:

To solve this, we built RAKTSETU (रक्तसेतु) — an autonomous, distributed emergency blood grid combining geospatial matching, distributed SQL, predictive time-series telemetry, and autonomous Hindi conversational AI.

[Casualty Ward: 1-Tap Emergency Broadcast] │ ▼ [Geospatial Clinical Matcher] (ABO/Rh Compatibility + Haversine Radius) │ ▼ [Instant Telegram Dispatch (@Raktsetu1_bot)] │ ┌──────────────┴──────────────┐ (Accepted in <7s) (Unanswered after 7s) │ │ ▼ ▼ [Request Fulfilled] [Autonomous Hindi Voice Call] (Retell AI + Twilio "Asha") │ ▼ [Verbal Assent: "हाँ, आ रहा हूँ"] │ ▼ [Instant App Update in 3 Seconds] Enter fullscreen mode Exit fullscreen mode Hyperlocal Geospatial Dispatch: When a doctor triggers a Code Red request, our matching engine evaluates ABO/Rh clinical compatibility and calculates real-time road proximity across 50 Delhi hospitals and 82 licensed blood centers centered around Rohini Sector 16. Multi-Channel Alerting: Instant rich interactive alerts dispatch to on-call donors via Telegram ( @Raktsetu1_bot ) with 1-tap [⚡ Accept Request] buttons. Autonomous 7-Second Hindi Voice Escalation: If an alert remains unaccepted for 7 seconds, our background watchdog wakes up and triggers an outbound phone call directly to the donor's mobile number via Retell AI and Twilio.

Our custom AI agent "Asha" speaks in natural Hindi: > "नमस्ते! मैं रक्तसेतु से आशा बोल रही हूँ। मैक्स हॉस्पिटल में एक मरीज़ को तुरंत O- नेगेटिव खून की ज़रूरत है। क्या आप अभी रक्तदान के लिए उपलब्ध हैं?" Closed-Loop Verbal Recognition: The backend actively listens for verbal confirmation ( "हाँ / yes / उपलब्ध हूँ" ), instantly commits the transaction, and updates the hospital's Flutter app to "🎉 Request Accepted by Donor!" with verified donor credentials in under 3 seconds. Zero Race-Condition Concurrency: Powered by YugabyteDB Cloud, eliminating double-booking hazards during concurrent peak-hour trauma requests. Predictive Shortage Intelligence: Powered by TimescaleDB / Tiger Data, forecasting regional blood stock depletion 48 hours in advance.

Demo 🎥 Video Demo (Google Drive): Watch the 5-Minute Prototype & Live Voice Call Demo 💻 Public GitHub Repository: github.com/Agam348/Raktsetu_SSCBS ⚡ Interactive API Documentation: http://127.0.0.1:8000/docs (FastAPI Swagger UI) Key Demonstration Highlights: Instant Code Red Dispatch: Casualty attendant creates an urgent request for 1 unit of O- blood on the Flutter mobile app. Autonomous Escalation in 7 Seconds: The Telegram bot alert is left unresponded; at second 7, the autonomous background watchdog triggers Retell AI to dial the donor's real SIM phone. Natural Hindi Dialogue & Live Fulfillment: The donor answers the incoming call from +1 (607) 270-3041, agrees to donate in Hindi ( "हाँ, मैं आ रहा हूँ" ), and the mobile app screen immediately transitions to fulfilled status with zero manual coordination needed.

Partner Technologies 1. YugabyteDB (Distributed SQL & ACID Transactions) In an emergency trauma scenario where multiple hospital casualty departments concurrently request the last unit of rare blood ( O- or AB- ), traditional databases frequently encounter race conditions. This can result in two hospitals believing they have secured the same unit.

We integrated a live YugabyteDB Cloud cluster on AWS Mumbai ( ap-south-1 ) communicating via PostgreSQL wire protocol (YSQL) on port 5433:

Predicting shortages before they occur is critical to saving lives. We utilized TimescaleDB / Tiger Data cloud infrastructure:

SMS and push notifications suffer from high drop-off rates during life-or-death emergencies. We engineered an autonomous voice bridge:

We built RAKTSETU during hackCBS 9.0 at Shaheed Sukhdev College of Business Studies (SSCBS), University of Delhi — one of India’s premier student hackathons and an official Major League Hacking (MLH) event!

The 24-hour sprint was an exhilarating rollercoaster. The venue buzzed with unmatched energy as hundreds of hackers brainstormed, coded, and iterated through the night.

A huge thank you to the hackCBS 9.0 organizing team, Major League Hacking (MLH), and partners like YugabyteDB and Tiger Data for providing the cutting-edge cloud infrastructure that made RAKTSETU possible!

Quelle: dev.to (dev.to). Original öffnen