🚀 HolyBot gives answers and relevant verses for your queries based on Bhagwad Gita/ Quran/ Bible.
This project is built using Pinecone and OpenAI ChatGPT.
pip install requirements.txt
Get necessary API Keys.
PINECONE_API_KEY = "YOUR-PINECONE-API-KEY"
PINECONE_ENVIRONMENT = "YOUR-PINECONE-ENVIRONMENT"
OPENAI_API_KEY = "YOUR-OPENAI-API-KEY"
OPENAI_ORGANIZATION = "YOUR-OPENAI-ORGANIZATION"
HOLY_BOOK = "gita" ('bible'/ 'quran')
Create index for the selected holybook (gita/ bible/ quran).
python createindex.py --holybook $HOLY_BOOK --pinecone_apikey $PINECONE_API_KEY --pinecone_environment $PINECONE_ENVIRONMENT --openaikey $OPENAI_API_KEY --openaiorg $OPENAI_ORGANIZATION
Launch Gradio app.
python app.py --holybook $HOLY_BOOK --pinecone_apikey $PINECONE_API_KEY --pinecone_environment $PINECONE_ENVIRONMENT --openaikey $OPENAI_API_KEY
holybot.mov
You can check out HolyBot on huggingface spaces - https://huggingface.co/spaces/ravithejads/HolyBot