Similarity search for the Quran. Using OpenAI embeddings and chromadb as the vector database.
- npm i
- npm run dev
- Create a .env file and add an
OPENAI_KEY
value with your api key. - Run
pip install -r requirements.txt
- Run
python3 embed.py
to turn all verses from quran_en.json into embeddings - Run
python3 app.py
to run the API
- Run
docker build -t quransearch .
- Run
docker run -t quransearch -p 5000:5000
Quran JSON from https://github.com/risan/quran-json Hadith JSON from https://github.com/A7med3bdulBaset/hadith-json