Soul RAG

Soul

Soul screenshot
Soul screenshot

Overview

Soul is a RAG-based Q&A app that lets you ask any question and see the perspective of multiple religions at once.

My friend and I built Soul for two reasons:

  • We were curious about different religious perspectives and wanted a dedicated UI to compare them
  • We wanted to learn RAG by using it in a real project

Implementation

Demo of Soul in action

We fed in as many religious texts as we could find into a PGVector database. For our first pass, we decided to focus on Christianity, Islam, and Buddhism.

We also added animated muppet-style avatars for some visual engagement. The images were generated using DALLE, then animated with RunwayML.

Likely, the RAG pipeline isn't strictly necessary. Many of these advanced LLM models have already been trained on religious texts and can recite exact quotes. Indeed, without RAG the product does quite well. But we added RAG for learning purposes and for the off-chance that a more obscure text might be overlooked by a raw LLM.

The project is open source! Check it out on Github.