About This Application

What is this?

VicharBot helps you discover Gurbani wisdom for life's questions through intelligent search of the Guru Granth Sahib Ji, providing relevant excerpts and AI-generated insights for your spiritual inquiries.

How it works:

  1. Data Collection: We fetch all 1430 pages (Angs) of the Guru Granth Sahib Ji from the Sikher API
  2. Chunking: The text is divided into meaningful segments of 10 lines each
  3. Tagging: Each segment is automatically tagged with spiritual themes using AI
  4. Embedding: Text is converted to high-dimensional vectors using OpenAI's embedding model
  5. Search: When you ask a question, it finds the most semantically similar Bani excerpts
  6. Answer Generation: A large language model from OpenAI reads the relevant Bani excerpts and frames a thoughtful answer grounded in Gurbani wisdom

Technical Details:

  • Data Source: Sikher API
  • Embedding Model: OpenAI text-embedding-3-small
  • Vector Store: FAISS (Facebook AI Similarity Search)
  • Tagging: OpenAI GPT-3.5-turbo for thematic classification
  • Search Method: Cosine similarity search
  • Answer Generation: OpenAI GPT-4o for creating thoughtful responses based on retrieved Bani

Features:

  • AI-generated answers grounded in Gurbani wisdom
  • Semantic search through the entire Guru Granth Sahib Ji
  • Results show both Gurmukhi and English translations
  • Save and share your favorite spiritual insights (Vichars)
  • Thematic tags help identify spiritual concepts
  • Filter by author (Guru Ji) or section
  • Similarity scoring to show relevance
  • Citation information (Ang number, line numbers)

Respectful Usage:

This tool is built with deep respect for the Guru Granth Sahib Ji and Sikh traditions. It's designed to help seekers find guidance from Gurbani in a more accessible way. Please use it with reverence and understanding that technology can aid but never replace the spiritual experience of reading and contemplating Gurbani.

Acknowledgment: This project uses the Sikher API for accessing the Guru Granth Sahib Ji text. We are grateful for their service to the Sikh community.