CoolFace
Apppublic

hasmat181/religious-debate-ai

sourceHugging Facemitupdated 2mo agoView on Hugging Face
0likes
App README

Religious Debate AI

Ask any question about religion and get an answer backed by precise citations from the actual scripture — not summaries, not opinions.

[→ Try it live](https://hasmat181-religious-debate-ai.hf.space/)


What it does

Type a question. Get an answer that:

  • Quotes the exact verse from the relevant scripture
  • Labels every citation with [SOURCE N] linked to the source
  • Covers both sides of contested questions (e.g. "Does the Quran command killing non-believers?")
  • Chooses from Scholar, Debate, or Interfaith framing

You can Follow up to ask clarifying questions and Try mode to reframe the same answer in a different style.


Database — 196,481 texts across 7 traditions

TraditionTextsSources
Islam62,594Quran (5 translations) + 31,414 Hadiths (Bukhari, Muslim, Tirmidhi, Abu Dawud, Nasa'i, Ibn Majah)
Christianity62,098Complete Bible (KJV + BBE)
Sikhism58,558Complete Guru Granth Sahib (BaniDB)
Buddhism7,000Pali Canon — all 5 Nikayas (SuttaCentral CC0)
Hinduism3,571Vedas, Upanishads, Mahabharata, Ramayana, Vishnu Purana, Yoga Sutras, Brahma Sutras
Judaism3,060Tanakh + Talmud Bavli + 63 Mishnah tractates (Sefaria)
Total196,481

Response modes

ModeStyle
ScholarBalanced, academic — names both sides, heavy citations
DebateSharp, evidence-driven — takes a position, dismantles the counter-view
InterfaithWarm, comparative — shows how traditions converge and differ

Example questions

  • "Does the Quran say to kill non-believers?"
  • "What does the Bible say about divorce?"
  • "Does Genesis contradict evolution?"
  • "What is anatta (non-self) in Buddhism?"
  • "Why was Rama exiled in the Ramayana?"
  • "What does Advaita Vedanta teach about the soul?"
  • "What is the Passover Seder according to the Mishnah?"

Tech stack

  • Vector search: ChromaDB + all-MiniLM-L6-v2 embeddings
  • Retrieval: Hybrid semantic + keyword with Reciprocal Rank Fusion
  • LLM: Llama 3.3 70B via LiteLLM (Groq → Cerebras → NVIDIA → SambaNova failover)
  • UI: FastAPI + HTMX — zero JS frameworks
  • Hosting: HuggingFace Spaces (free tier)

Limitations

  • Answers are for learning and debate, not authoritative religious rulings
  • Laws of Manu (Manusmriti) not yet in corpus — clean machine-readable source unavailable
  • No original-language text (Arabic, Sanskrit, Hebrew) — English translations only