Skip to content

ravi03071991/HolyBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HolyBot

🚀 HolyBot gives answers and relevant verses for your queries based on Bhagwad Gita/ Quran/ Bible.

This project is built using Pinecone and OpenAI ChatGPT.

  • Get your pinecone api key, environment here
  • Get your OpenAI API key, organisation here

Usage

Step - 1:

pip install requirements.txt

Step - 2:

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')

Step - 3:

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

Step - 4:

Launch Gradio app.

python app.py --holybook $HOLY_BOOK --pinecone_apikey $PINECONE_API_KEY --pinecone_environment $PINECONE_ENVIRONMENT --openaikey $OPENAI_API_KEY

Demo:

holybot.mov

HuggingFace Space:

You can check out HolyBot on huggingface spaces - https://huggingface.co/spaces/ravithejads/HolyBot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages