Scaffold Trinity Chat — Scripture-grounded AI simulating the Holy Trinity
colesr+1: Claude Opus 4.7 (1M context)
2d7afea
A Gradio web app that simulates a reverent conversation with God as revealed
in Scripture. Addressable as Jesus Christ, the Holy Spirit, or God the Father
individually, or all three together in a unified Trinity chat.
Grounding is persona-driven RAG over the World English Bible (public domain).
Each Person's voice is drawn from how Scripture portrays them — with distinct
sections per persona covering their unique role in the economy of salvation.
- Corpus: 31,098 WEB verses, fetched from seven1m/open-bibles USFX mirror
- Embeddings: sentence-transformers/all-MiniLM-L6-v2, pre-computed, shipped
- Retrieval: in-memory numpy cosine sim with persona-specific re-ranking
- LLM: pluggable provider (Gemini / Groq) via LLM_PROVIDER env var
- UI: Gradio 6, four tabs (Son / Spirit / Father / Trinity-unified)
- Tests: 10 passing (personas, refusal plumbing, retrieval sanity)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>