{"id":24143225,"url":"https://github.com/farhan0167/qnachatbot","last_synced_at":"2026-05-04T23:36:12.626Z","repository":{"id":183096277,"uuid":"669593237","full_name":"farhan0167/QnAChatBot","owner":"farhan0167","description":"A chatbot that parses your PDF files and answers your questions around that file using GPT","archived":false,"fork":false,"pushed_at":"2023-09-13T19:24:49.000Z","size":25292,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T13:43:10.773Z","etag":null,"topics":["embeddings","embeddings-similarity","gpt-3","python3","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/farhan0167.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-22T19:32:55.000Z","updated_at":"2023-10-12T05:06:06.000Z","dependencies_parsed_at":"2023-07-22T20:38:17.839Z","dependency_job_id":null,"html_url":"https://github.com/farhan0167/QnAChatBot","commit_stats":null,"previous_names":["farhan0167/qnachatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhan0167%2FQnAChatBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhan0167%2FQnAChatBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhan0167%2FQnAChatBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhan0167%2FQnAChatBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farhan0167","download_url":"https://codeload.github.com/farhan0167/QnAChatBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhan0167%2FQnAChatBot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259063846,"owners_count":22799726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embeddings","embeddings-similarity","gpt-3","python3","streamlit"],"created_at":"2025-01-12T05:14:45.351Z","updated_at":"2026-05-04T23:36:07.605Z","avatar_url":"https://github.com/farhan0167.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QnAChatBot\n\n### [Live Demo](https://qnachatbotgit-wt3gsf18sv.streamlit.app/)\n\nQnAChatBot allows you to upload text heavy pdf documents, and chat with the bot based on the document.\n\n## Use Cases\n1. Company financials, and earnings call analyzer.\n2. Ask questions about a Terms and Services document to uncover what you're legally signing up for.\n3. Write cover letters based on resumes.\n4. Ask questions on course work, lab materials, or any educational document\n\n\n## Prior Work\n\nThis work is inspired from my HackNYU Hackathon project, [GPT Tutor](https://devpost.com/software/tutor-bot). We built a Discord Bot that is able\nto 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\njust coursework, and extend it to a wider usecase. \n\n## To Reproduce (On MacOS)\n\n1. Clone this repository\n```bash\ngit clone https://github.com/farhan0167/QnAChatBot\ncd QnAChatBot\n```\n\n2. Configure OpenAI API key and secrets folder\n```bash\nmkdir .streamlit\ncd .streamlit\nnano secrets.toml\n```\nand paste the following:\n```\nOPENAI_API_KEY = \"your-openAI-api-key\"\n```\nPress `Control+X` and `Y` to exit the editor. Go back to project directory:\n\n3. Install dependencies\n```bash\npip install -r requirements.txt\n```\n4. Run the Application\n```bash\nstreamlit run app.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhan0167%2Fqnachatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarhan0167%2Fqnachatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhan0167%2Fqnachatbot/lists"}