https://github.com/rajkhanke/pdf_based_chatbot
The chatbot which can answer any queries based on the Inputted pdf by the user. It is developed using the mind of Gemini API of Google at the backend.
https://github.com/rajkhanke/pdf_based_chatbot
chatbot gemini-api python streamlit
Last synced: 2 months ago
JSON representation
The chatbot which can answer any queries based on the Inputted pdf by the user. It is developed using the mind of Gemini API of Google at the backend.
- Host: GitHub
- URL: https://github.com/rajkhanke/pdf_based_chatbot
- Owner: RajKhanke
- Created: 2024-04-28T19:09:25.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T19:17:22.000Z (about 2 years ago)
- Last Synced: 2025-06-18T01:44:30.963Z (about 1 year ago)
- Topics: chatbot, gemini-api, python, streamlit
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDF_Based_ChatBot
The chatbot which can answer any queries based on the Inputted pdf by the user. It is developed using the mind of Gemini API of Google at the backend.
Clone in your system using :
git clone https://github.com/RajKhanke/PDF_Based_ChatBot.git
Install the requirements in your virtual environment using :
pip install -r requirements.txt
The Chatbot is developed in python which can answer any querry based on the inputed pdf by the user.
The text is extracted from the inputed pdf using python text from pdf library PYPDF2.
This inputed text is then feeded to the Google Gemini API key which then answer the querries by generating appropriate responses on user questions from the inputed pdf.
The chatbot is integrated on the web server using python framework streamlit.
In the file at the placeholder "ENTER YOUR API KEY", replace it with your own unique API key generated by Google Gemini.