AI-CHATBOT

PDF Q&A ChatBot

A conversational AI powered by Retrieval-Augmented Generation (RAG) that answers questions about your documents.

📖 Project Overview

This project is a full-stack, AI-driven application designed to allow users to ask natural language questions about their PDF documents and receive accurate, context-aware answers. It solves the problem of needing to manually search through large files for specific information.

The core of the application is a Retrieval-Augmented Generation (RAG) pipeline, which intelligently combines document retrieval with a Large Language Model (LLM) to provide grounded and reliable responses.

📸 Demo

AI ChatBot PDF Q&A

✨ Features

💻 Technologies Used

Prerequisites

You will need Python and pip installed.

  1. Clone the repository: git clone [your_repo_link] cd [your_repo_name]

  2. Set up your virtual environment: python -m venv venv source venv/bin/activate

  3. Install the required packages: pip install -r requirements.txt

  4. Set up your environment variables: Create a file named .env in the root directory and add your OpenAI API key: OPENAI_API_KEY="YOUR_API_TOKEN_HERE"

Running the App

Run the Streamlit application from your terminal: streamlit run app.py