Question & Answer Bot using Rag
π§ Overview
This project is a PDF-based Question Answering Bot built with Streamlit. It allows users to:
- Upload a PDF file
- Ask questions related to the content
- Get accurate answers directly extracted from the uploaded document
It's a lightweight interface demonstrating how language models can interact with document-based knowledge in a user-friendly way.
π Features
π Upload and parse any PDF document
β Ask context-specific questions related to the PDF
π¬ Receive concise answers using natural language understanding
β‘ Interactive UI built with Streamlit
π Sample PDF
- Upload a Sample PDF.
- Ask: What is Physical Addressing?
- Get a concise, context-aware answer extracted directly from the text.
πΈ Output Screenshot
The example below shows the bot answering a question extracted from a PDF about networking concepts:

π‘ Example Use Cases
~ University notes β "Define ARP or OSI model?"
~ Research papers β "What is the key finding of section 3?"
~ Legal documents β "What clause discusses ownership rights?"
π Acknowledgements
- Built with β€οΈ using Streamlit
- Inspired by document Q&A systems like LangChain and ChatPDF