This project is a RAG (Retrieve and Generate) based PDF reader chatbot using the Ollama Large Language Model (LLM). The chatbot allows users to upload PDF files and ask questions about their content, providing accurate and relevant answers based on the extracted text.
- PDF Upload: Users can upload a PDF file to the application.
- Text Extraction: The content of the uploaded PDF is extracted using PyPDF2 for further processing.
- Question Answering: Users can ask questions about the content of the PDF, and the chatbot provides answers using the Ollama LLM.
- Streamlit UI: A user-friendly interface built with Streamlit to interact with the chatbot.
- Streamlit: For building the user interface.
- Ollama LLM: For generating responses based on the content of the PDF.
- PyPDF2: For extracting text from PDF files.
- langchain: For integrating the Ollama model and managing the language processing pipeline.
-
Clone the repository:
git clone https://github.com/Murghendra/RAG-PDF-ChatBot.git cd RAG-PDF-ChatBot -
Install Dependencies:
pip install -r requirements.txt
-
Run the Streamlit server:
streamlit run streamlit.py
Here are some screenshots of the application:


