--- title: Bhagavad Gita Wisdom Bot emoji: 🕉️ colorFrom: red colorTo: yellow sdk: gradio sdk_version: 5.44.1 app_file: app.py pinned: false license: mit short_description: Solve your life problems using bhagvadgita wisdom by Krishna tags: - bhagavad-gita - wisdom - spirituality - guidance - ai-assistant - gradio --- # 🕉️ Bhagavad Gita Wisdom Bot An AI-powered wisdom bot that helps users find relevant teachings from the Bhagavad Gita to address their personal problems and life challenges. This application uses advanced semantic search and AI contextualization to make ancient wisdom accessible and relevant to modern concerns. ## Features - **🤖 Problem Analysis**: AI-powered analysis of user concerns to identify key themes and emotional states - **🔍 Semantic Search**: Find relevant verses using advanced sentence embeddings - **💡 Contextual Guidance**: AI contextualization that makes ancient wisdom relevant to modern problems - **📚 Complete Dataset**: Access to all 700 verses across 18 chapters of the Bhagavad Gita - **🙏 Sanskrit & English**: Both original Sanskrit text and English translations - **📝 User Feedback**: Integrated feedback system for continuous improvement ## How It Works 1. **Share Your Concern**: Describe your problem, challenge, or question in detail 2. **AI Analysis**: The system analyzes your input to understand themes and emotions 3. **Semantic Search**: Finds the most relevant verses from the Bhagavad Gita 4. **Personalized Guidance**: AI generates contextual advice connecting ancient wisdom to your situation 5. **Reflection Questions**: Provides thoughtful questions to help you apply the teachings ## Example Use Cases The bot can provide guidance for various life situations: - 💼 Career decisions and finding purpose - 💔 Relationship conflicts and heartbreak - 💰 Financial stress and material concerns - 🏥 Health challenges and coping with illness - 🤔 Ethical dilemmas and moral questions - 🌱 Personal growth and spiritual development - 😢 Grief, loss, and difficult transitions - 😰 Anxiety about the future ## Dataset Uses the comprehensive [Bhagavad Gita Dataset](https://huggingface.co/datasets/JDhruv14/Bhagavad-Gita_Dataset) featuring: - 700 verses across 18 chapters - Sanskrit original text with transliteration - English translations - Chapter and verse organization ## Technology Stack - **AI/ML**: DSPy for intelligent problem analysis and contextualization - **Search**: Sentence Transformers for semantic similarity matching - **Frontend**: Gradio for beautiful, interactive web interface - **Logging**: Weights & Biases integration for usage analytics - **Data**: HuggingFace Datasets for reliable scripture access ## Privacy & Usage - All interactions may be logged for service improvement - No personal identifying information is stored - Feedback is optional and helps improve responses - API keys are securely managed through environment variables ## Getting Started Simply start typing your concern or question in the text box above. Be as specific as you'd like - more detail helps the AI find the most relevant wisdom for your unique situation. **Example starter questions:** - "I'm struggling with a difficult career decision..." - "I feel overwhelmed by anxiety about my future..." - "I'm going through a breakup and feeling lost..." - "I've lost motivation at work and don't know how to regain it..." --- *May this ancient wisdom bring peace, clarity, and guidance to your journey* 🙏