Skip to content

Vrajesh-Sharma/Sarathi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

41 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒธ Sarathi โ€“ Krishna for Everyone

A spiritually guided chatbot offering divine wisdom inspired by the Bhagavad Gita.

๐ŸŒŸ Overview

Sarathi is a spiritual chatbot designed to simulate conversations with Shree Krishna, offering responses rooted in the teachings of the Bhagavad Gita. Built with modern web technologies and powered by a Language Model (LLM), the chatbot allows users to ask personal or philosophical questions and receive compassionate, scripture-inspired answers.

โœจ Features

  • Divine responses based on Bhagavad Gita verses.
  • Voice response (text-to-speech) in both English and Hindi.
  • Language toggle support (English ๐Ÿ‡ฌ๐Ÿ‡ง / Hindi ๐Ÿ‡ฎ๐Ÿ‡ณ).
  • Krishna-style emotional welcome and response tones.
  • Typing animation mimicking divine response generation.
  • Scrollable, modern chat UI with speech synthesis.
  • Intelligent backend powered by LLM + Pinecone + Gemini.

๐Ÿ› ๏ธ Tech Stack

Frontend:

  • React with TypeScript
  • Framer Motion for animations
  • Tailwind CSS
  • React Markdown
  • Lucide React icons
  • Web Speech API (Text-to-Speech) Backend:
  • Flask (Python)
  • Gemini LLM API
  • Pinecone Vector DB
  • Render for deployment

๐Ÿš€ Getting Started

1. Clone the repository

git clone https://github.com/Vrajesh-Sharma/sarathi.git
cd sarathi

Install frontend dependencies

cd frontend
npm install
npm run dev

Run backend server

cd backend
pip install -r requirements.txt
python app.py

๐Ÿ“Œ Note: Make sure your .env contains valid keys for Pinecone and Gemini API.

๐ŸŒ Deployment

This project is hosted using:

  • Frontend: Vercel - Sarathi
  • Backend: Render - To deploy your own version, update environment variables and deploy with your preferred platforms.

๐Ÿ™ How to Use

  1. Open the web app.
  2. You'll be greeted by Krishna with a warm spiritual message.
  3. Ask any question about:
    • Life struggles
    • Work and business dilemmas
    • Family issues
    • Spiritual confusions
  4. Krishna responds based on Bhagavad Gita teachings.

Example Questions:

  • โ€œIโ€™m feeling lost in my career. What should I do?โ€
  • โ€œHow do I handle separation in a marriage?โ€
  • โ€œWhat does Krishna say about material desires?โ€

โ€œYou have the right to perform your actions, but not the fruits of them.โ€
โ€” Bhagavad Gita 2.47


Made with โค๏ธ by Vrajesh Sharma

About

Sarathi is a calm, voice-enabled chatbot that answers real-life questions using the timeless wisdom of the Bhagavad Gita. Built with Gemini 1.5 and Pinecone, it responds in English or Hindi, referencing actual Gita verses. ๐ŸŽฅ Divine landing page ยท ๐Ÿง  Context-aware answers ยท ๐Ÿ—ฃ๏ธ Voice support ยท ๐Ÿ™ Spiritually grounded

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors