Show HN: Bible as RAG Database (crosscanon.com)
Made this in a free evening. Index an permissive license translation of the Bible (WEB) into a RAG database to allow returning passages of similar semantic meaning. Lots of fun. For example, "more money more problems" returns Ecclesiastes 5:9-13 which, I'll just say, is spot on..
"Moreover the profit of the earth is for all. The king profits from the field. He who loves silver shall not be satisfied with silver, nor he who loves abundance, with increase. This also is vanity. When goods increase, those who eat them are increased; and what advantage is there to its owner, except to feast on them with his eyes? The sleep of a laboring man is sweet, whether he eats little or much; but the abundance of the rich will not allow him to sleep. There is a grievous evil which I have seen under the sun: wealth kept by its owner to his harm."
Anyway - thought it was fun enough to share. It's slow and I vibe coded it so I haven't sorted out how to make it not take 15 seconds to vector search against the full 4GB index.
52 comments
[ 3.1 ms ] story [ 94.3 ms ] thread>Jacob kissed Rachel, and lifted up his voice, and wept. Jacob told Rachel that he was her father’s relative, and that he was Rebekah’s son. She ran and told her father. When Laban heard the news of Jacob, his sister’s son, he ran to meet Jacob, and embraced him, and kissed him, and brought him to his house. Jacob told Laban all these things. Laban said to him, “Surely you are my bone and my flesh.” Jacob stayed with him for a month. Laban said to Jacob, “Because you are my relative, should you therefore serve me for nothing? Tell me, what will your wages be?”
<https://en.wikipedia.org/wiki/Retrieval-augmented_generation>
For the solution, read Henry George!
The wife doesn’t have authority over her own body, but the husband does. Likewise also the husband doesn’t have authority over his own body, but the wife does.
I'm so glad this religion of peace sees consent as profoundly unimportant
As for speed, this might help for code referencing: https://github.com/deepbluedynamics/lume
Blog post: https://deepbluedynamics.com/blog/lume-retrieval-primitives
I use a small local model to extract entities for the graph, but it's not necessary.
You can optionally use GTR-T5 which is a few years old now, but still good for generating fast and free embeddings. That step is only run once if you run it in hybrid mode.
Feel free to take and remix or use!
https://reminder.dev/search
It's also open source
https://github.com/asim/reminder
My friend has been looking for a good transliterated version of the Quran. I see I can hover/click over a word to view the transliteration, is it possible to have an option to show transliteration, like word-by-word translation?
I added an issue https://github.com/asim/reminder/issues/111
Thanks again!
https://github.com/jacksonStone/cross-cannon