QnAChatBot allows you to upload text heavy pdf documents, and chat with the bot based on the document.
- Company financials, and earnings call analyzer.
- Ask questions about a Terms and Services document to uncover what you're legally signing up for.
- Write cover letters based on resumes.
- Ask questions on course work, lab materials, or any educational document
This work is inspired from my HackNYU Hackathon project, GPT Tutor. We built a Discord Bot that is able to synthesize course material uploaded by a professor, and serve as a 24/7 available teacher's assistant. The success of the work enables us to expand beyond just coursework, and extend it to a wider usecase.
- Clone this repository
git clone https://github.com/farhan0167/QnAChatBot
cd QnAChatBot
- Configure OpenAI API key and secrets folder
mkdir .streamlit
cd .streamlit
nano secrets.toml
and paste the following:
OPENAI_API_KEY = "your-openAI-api-key"
Press Control+X
and Y
to exit the editor. Go back to project directory:
- Install dependencies
pip install -r requirements.txt
- Run the Application
streamlit run app.py