Skip to content

Explore profound wisdom and spiritual guidance with Lord Krishna through interactive queries and teachings from the Bhagavad Gita.

Notifications You must be signed in to change notification settings

Manshi-Rathour/GitaBot

Repository files navigation

GitaBot

Introduction

Welcome to GitaBot, an advanced interactive chatbot designed to impart wisdom and guidance from the timeless teachings of the Bhagavad Gita. By leveraging modern AI and sentiment analysis techniques, GitaBot provides insightful responses to user queries, reflecting the teachings of Lord Krishna. This unique integration of spiritual guidance and technology offers users a profound and personalized experience.

Features

  • Interactive Chatbot: Engage in meaningful conversations and receive responses rooted in the Bhagavad Gita's wisdom.
  • Sentiment Analysis: Analyze the emotional tone of your queries and view sentiment scores in percentages.
  • Sentiment-Based Guidance: Experience tailored responses that adapt to the sentiment of your queries.
  • Visually Appealing Interface: Enjoy a user-friendly and visually captivating interface designed with Streamlit.

Upcoming Features

The following features are currently in development and will be available in future updates:

  • Multilingual Interaction: Interact with GitaBot in multiple languages, making the teachings accessible to a broader audience.
  • Voice Input Support: Speak your queries and receive voice-based responses, offering a hands-free and immersive experience.

Installation

To utilize GitaBot locally, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/Manshi-Rathour/GitaBot
    # or
    git clone https://github.com/sSumankumari/GitaBot
  2. Navigate to the project directory:

    cd GitaBot
  3. Set Up a Virtual Environment: Create and activate a virtual environment for dependency management:

    python -m venv venv
    # On Windows:
    venv\Scripts\activate
    # On macOS/Linux:
    source venv/bin/activate
  4. Install Dependencies: Install the necessary packages using the requirements.txt file:

    pip install -r requirements.txt
  5. Configure API Keys: Set up your API keys in a .env file. Create a .env file in the root directory and add the following line:

    GOOGLE_GENERATIVE_LANGUAGE_API_KEY=your_api_key_here
  6. Run the Application:

    1. Launch the Streamlit Version

      To run the Streamlit app, use the following command:

      streamlit run main.py
    2. Launch the Flask Version

      To run the Flask app, use the following command:

      python app.py

Prompt Examples

Personal Guidance and Inner Peace

  • "I feel anxious about my future. What should I do?"
  • "How can I find inner peace?"
  • "What does the Bhagavad Gita say about handling stress?"
  • "How can I find inner peace according to the Bhagavad Gita?"
  • "How do I maintain a positive attitude during tough times?"

Teachings and Concepts of the Bhagavad Gita

  • "What is the main message of the Bhagavad Gita?"
  • "Can you explain the concept of Dharma in the Bhagavad Gita?"
  • "What is Karma Yoga?"
  • "How can I apply the teachings of the Bhagavad Gita to modern life?"
  • "How does the Bhagavad Gita address the concept of attachment?"

Moral and Philosophical Inquiries

  • "What is the significance of karma according to the Gita?"
  • "How can I apply the teachings of the Bhagavad Gita to modern life?"
  • "What is the significance of meditation in the Bhagavad Gita?"
  • "Can you explain the role of a teacher in the Bhagavad Gita?"
  • "How does the Bhagavad Gita address the concept of attachment?"

Contributors

Acknowledgements

Thank you for choosing GitaBot! We hope you find clarity and wisdom through our application. Your journey towards spiritual and mental well-being is our priority.

Preview

About

Explore profound wisdom and spiritual guidance with Lord Krishna through interactive queries and teachings from the Bhagavad Gita.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published