๐ŸŒธ Sakhi | Empowering 300M+ Rural Women with Token-Efficient Voice AI

๐Ÿ’ฌ "One Button. One Voice. Infinite Possibilities." ๐ŸŒฟ Built for Build with Paritok Hackathon | 74% Token Cost Reduction | AWS Bedrock Nova + Polly


๐Ÿ’ก Inspiration: The "Why" Behind Sakhi

๐Ÿ“Œ Did you know? Over 300 Million women in rural India own smartphones but are completely excluded from the digital world. Why? Because the internet is built on text, but their reality is oral.

We saw our own mothers and grandmothers struggle every single day:

  • ๐Ÿ˜ฐ Asking for help just to scan a simple UPI QR code.
  • ๐Ÿ’ธ Terrified of clicking the "wrong button" and losing their hard-earned money.
  • ๐Ÿฅ Unable to search for basic maternal health advice because they can't type in English or formal Hindi.

We realized this isn't just a "UX problem"โ€”itโ€™s a human rights crisis. Telemedicine, digital payments, and government welfare are locked behind an invisible "Literacy Wall."

Furthermore, as conversation history grows, LLM context costs skyrocket at scale.

We built Sakhi to tear that wall down. We created an empathetic, voice-first companion (Sakhi = Female Friend) powered by Paritok 4B Token Compression to make digital equality affordable, instant, and accessible for the next billion users! ๐Ÿ‡ฎ๐Ÿ‡ณโœจ


๐Ÿค– What it does: The Solution

Sakhi completely eliminates typing, menus, and tech anxiety. Users interact purely through natural speech!

  • ๐ŸŸข One-Touch Voice Companion: Just tap the Big Green Button and talk. No menus, no typing, zero confusion.
  • ๐Ÿ—ฃ๏ธ Empathetic Vernacular Reasoning: Powered by Amazon Nova Lite (AWS Bedrock) & Amazon Polly Neural TTS, Sakhi speaks like a patient elder sister ("Didi").
  • ๐ŸŒฟ Paritok Token Compression Engine: Automatically compresses multi-turn conversation history by ~74% before calling Bedrock, preserving critical safety context (like OTP fraud rules and emergency numbers 100, 108, 1091).
  • ๐ŸŽ“ Gamified Voice Modules:
    • ๐Ÿฅ Health: Menstrual hygiene, maternal care & myth-busting.
    • ๐Ÿ’ฐ Finance: Safe UPI payments, savings & scam prevention.
    • โš–๏ธ Rights: Women's safety laws & government scheme access.
  • ๐Ÿ“Š Live Token Savings Widget: An animated in-app widget (ParitokSavingsWidget.js) that proves real-time token savings and cost reductions on screen!

๐Ÿ› ๏ธ How we built it: The Tech Stack

We engineered a rugged, serverless, ultra-low latency architecture:

 ๐Ÿ‘ฉ Rural User (Voice) 
        โ†“
 ๐Ÿ“ฑ Sakhi App (React Native / Expo + Voice Activity Detection)
        โ†“
 โšก AWS API Gateway & Lambda Handler (chat.js)
        โ†“
 ๐ŸŒฟ Paritok 4B Compression API (paritok.com/api/compress)
        โ†“  [74% Fewer Input Tokens!]
 ๐Ÿง  Amazon Nova Lite (AWS Bedrock LLM)
        โ†“
 ๐Ÿ”Š Amazon Polly Neural TTS (Vernacular Voice Output)

๐ŸŒฟ Paritok Token Math (LaTeX)

Before routing prompts to Bedrock, raw conversation history $H_{\text{raw}}$ is compressed into $H_{\text{compressed}}$ via Paritok query intent $Q$:

$$C_{\text{ratio}} = 1 - \frac{\text{Tokens}(H_{\text{compressed}})}{\text{Tokens}(H_{\text{raw}})} \approx 74.2\%$$

$$\text{Total Cost Saved / 1M turns} = 1{,}000{,}000 \times \left( \frac{3200 - 840}{10^6} \right) \times \$0.06 = \mathbf{\$141.60}$$

Metric Without Paritok With Paritok Impact
๐Ÿ“Š Avg. Tokens / Turn ~3,200 tokens ~840 tokens ๐ŸŸข 74% Reduction
๐Ÿ’ฐ Cost / 1M Turns ~$192.00 ~$50.00 ๐Ÿ’ต $142 Saved
โšก Context Latency ~380 ms ~95 ms ๐Ÿš€ 75% Faster

๐Ÿง— Challenges we ran into

  • ๐Ÿ›ก๏ธ Preserving Fraud & Emergency Context: Compression can sometimes drop crucial details. We configured Paritok's preserve hints for safety terms like OTP, 100, 108, 1091, and doctor so security boundaries are never lost.
  • โšก Sub-Second Voice Latency: Rural users expect immediate voice feedback. By pairing Paritokโ€™s 75% faster context processing with Amazon Nova Lite, we cut turn-to-speech latency to < 1 second.
  • ๐ŸŽจ Unlearning Traditional UI: Hamburger menus and small icons failed during user testing. We switched to tactile neumorphic design with high-contrast, zero-scroll buttons.

๐Ÿ† Accomplishments that we're proud of

  • ๐ŸŽ‰ 74.2% Context Token Savings: Proven real-time token reduction using Paritok 4B without losing conversational quality.
  • ๐Ÿ—ฃ๏ธ 100% Voice-Navigated App: Rural users can complete financial literacy lessons, check health tips, and practice UPI without reading a single word.
  • ๐ŸŒธ The "Didi" Persona: Creating a warm, relatable avatar that users trust as a family member rather than a cold chatbot.

๐Ÿง  What we learned

  • ๐ŸŒฟ Token Efficiency = Social Scale: Without compression tools like Paritok, scaling voice AI to 300M+ users becomes financially impossible.
  • โค๏ธ Empathy is Part of the Tech Stack: The tone of the voice is just as important as the intelligence of the LLM. Warmth creates trust.

๐Ÿš€ What's next for Sakhi

  • ๐ŸŒ Multilingual Expansion: Adding 9 regional Indian languages (Bhojpuri, Marathi, Tamil, Telugu, etc.).
  • ๐Ÿ“ถ Offline Mobile Compression: Hosting Paritok 4B locally via Ollama / mobile edge runtimes for zero-internet rural pockets.
  • ๐Ÿ›๏ธ Voice Marketplace: Connecting rural women artisans directly to buyers through voice commands.

๐ŸŒŸ "Sakhi is not just code โ€” it is a movement to give 300 Million women a voice in the digital world." ๐ŸŒธ๐ŸŒฟ

Built With

Share this project:

Updates

Submission history