bible-search icon indicating copy to clipboard operation
bible-search copied to clipboard

Semantically search the Bible

:books: bible-search

Open in Streamlit Tests

Semantically search the Bible.

Try it out here.

Development

Set up dependencies:

make init

Run the app:

make run

Run tests:

make test

Generating the data

make data

The latest data is uploaded to releases.

Data format

Bible data is stored in 3 Parquet files:

  1. The Bible text with columns vid and t.
  2. Verse embeddings with columns vid and e.
  3. Book number-to-name mapping with columns b and n.

Where:

  • vid is the verse ID. It's an integer in the format bbbcccvvv where bbb is the book number, ccc is the chapter number, and vvv is the verse number.
  • b is the book number.
  • n is the book name.
  • t is the verse text.
  • e is the verse embedding.

Acknowledgments