AyurVerse
Discover Ayurveda through a smart voice chatbot—offering yoga, herbal tips, quizzes & more. Embrace timeless wellness with a modern touch. Rooted in nature, guided by tradition.
Created on 28th May 2025
•
AyurVerse
Discover Ayurveda through a smart voice chatbot—offering yoga, herbal tips, quizzes & more. Embrace timeless wellness with a modern touch. Rooted in nature, guided by tradition.
The problem AyurVerse solves
1.Simplifies Ayurveda: The chatbot breaks down complex concepts into easy, conversational responses anyone can understand.
2.Reliable & Instant Answers: Users get trustworthy Ayurvedic advice instantly without wading through unreliable sources.
3.Personalized Interaction: Voice and text input enable a natural, user-friendly way to seek remedies tailored to symptoms or dosha types.
4.Multimodal Learning: Visual herbal garden, yoga guides with images, quizzes, and videos enhance learning and retention.
5.Accessible Anywhere, Anytime: The web-based platform offers 24/7 access without appointments or physical visits.
6.Voice-enabled for Inclusivity: Voice input/output supports users with literacy or mobility challenges.
Challenges we ran into
The Problem
The core difficulty lay in integrating the browser’s Web Speech API—specifically the SpeechRecognition and SpeechSynthesis interfaces—seamlessly with the chatbot’s backend logic. Here are the main issues I faced:
Recognition Accuracy:
The SpeechRecognition API struggled with accurately capturing queries, especially with the Indian English accent and Ayurvedic-specific terms like “dosha,” “Triphala,” and “giloy.” This led to frequent misinterpretations and incorrect input.
Asynchronous Event Handling:
Voice input had to be captured, sent as a text message to the Flask backend, receive a reply, and then have the reply read out loud via speech synthesis. Managing this sequence without audio overlapping or long delays was tricky.
Cross-Browser Inconsistencies:
Different browsers implemented the Web Speech API differently, causing inconsistent user experiences. Some features worked well on Chrome but failed on Firefox or Safari.
No Mentorship:
Since this was an online hackathon with no mentors, I had to rely entirely on self-directed learning, online documentation, forums, and trial-and-error debugging to overcome the technical blocks.
How I Overcame It
Extensive Research:
I spent time reading the official Web Speech API docs and community discussions on Stack Overflow and GitHub issues. This helped me understand the limitations and quirks of the API.
Language and Accent Configuration:
Setting the recognition language to 'en-IN' improved the accuracy for Indian English and Ayurvedic vocabulary significantly.
Modular Debugging:
I broke down the voice interaction into isolated parts: first testing voice input recognition, then backend communication, then speech synthesis output. This modular approach made it easier to pinpoint bugs.
Error Handling and User Feedback:
Implemented comprehensive error handling to catch recognition errors and inform the user, which prevented frustration and improved UX.
Iterative Testing Across Browsers:
I focused on Chrome
Tracks Applied (1)
Ethereum Track
ETHIndia
Technologies used
