BibleSearch.ing is a new search engine for the Holy Bible. It's great to find a verse you have in the back of your mind, but can't remember the exact words.
BibleSearch.ing uses what's called a "vector search" to find the most relevant verses to your query. A vector database is used to hold the meaning of a particular piece of data in a coordinate space, and the search query is converted into one of these vector. The query is then compared to the vectors in the database, and the closest neighboring verses in the coordinate space are returned. Because the coordinates of a verse are based off of the meaning of the words, this means the closest verses are the ones that are most similar in meaning.
BibleSearch.ing was made using Chroma, one of these vector databases. We then vectorize all of the verses in the Bible, using OpenAI's text-embedding-ada-002 model and store them in the database. The search engine is written in Go, and the frontend is written TEMPL, Tailwind, and HTMX. The entire project is open source, and can be found on GitHub.
1 Corinthians 10:31