Skip to content

Divzoon/RAG-Chatbot

 
 

Repository files navigation

RAG Chatbot (Retrieval-Augmented Generation)

This project allows users to upload multiple PDF documents and ask questions about the content of these documents. The application uses language models and vector stores to retrieve relevant information from the documents and provide responses to the user's queries.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python
  • pip

Installing

Clone the repository to your local machine:

git clone <repository_url>

Navigate to the project directory:

cd <project_directory>

Install the required Python packages:

pip install -r requirements.txt

Running the Application

To run the application, execute the following command:

python RAGWithHF.py

Usage

  1. Open the application in your web browser.
  2. Upload your PDF documents using the file uploader in the sidebar.
  3. Click on 'Process' to process the uploaded documents.
  4. Ask a question about your documents in the text input field.
  5. The application will display the response to your question.

Built With

  • Streamlit - The web framework used
  • PyPDF2 - A library used to read PDF documents
  • langchain - A library used for text splitting, embeddings, vector stores, and conversation models
  • dotenv - A library used to manage environment variables

Authors

  • Salah Mo - Initial work

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%