Skip to content

selvaganesh19/PDF-RAG-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PDF-RAG-Application

PDF-RAG-Application πŸ“„πŸ€–

Welcome to PDF-RAG-Application! This project provides a simple and efficient framework for Retrieval-Augmented Generation (RAG) using PDF documents. Harness the power of Large Language Models with your own PDF knowledge baseβ€”search, query, and analyze PDF content interactively.


πŸš€ Introduction

PDF-RAG-Application enables users to upload and query PDF files using state-of-the-art embedding models (via SentenceTransformers) and fast similarity search with FAISS. The application features an intuitive Gradio interface for seamless user interaction.


✨ Features

  • PDF Upload & Parsing: Easily upload and process PDF documents.
  • Semantic Search: Powerful vector search using FAISS and sentence-transformer embeddings.
  • Interactive Interface: User-friendly Gradio UI for uploading PDFs and querying contents.
  • Asynchronous Processing: Efficient handling of large documents.
  • Secure & Lightweight: Minimal dependencies, runs locally.

βš™οΈ Installation

  1. Clone the Repository

    git clone https://github.com/your-username/PDF-RAG-Application.git
    cd PDF-RAG-Application
  2. Create a Virtual Environment (Optional but Recommended)

    python3 -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install Dependencies

    pip install -r requirements.txt

    Note: Main dependencies are gradio, sentence-transformers, faiss-cpu, PyMuPDF, and numpy.


▢️ Usage

  1. Start the Application

    python app.py
  2. Interact via Web Browser

    • Open the Gradio link displayed in your terminal.
    • Upload your PDF files.
    • Ask questions or search for content within your PDFs.

🀝 Contributing

Contributions are welcome! To get started:

  1. Fork the repository.
  2. Create your feature branch:
    git checkout -b feature/YourFeature
  3. Commit your changes:
    git commit -m "Add YourFeature"
  4. Push to the branch:
    git push origin feature/YourFeature
  5. Open a Pull Request.

πŸ“„ License

This project is licensed under the MIT License.


Enjoy using PDF-RAG-Application! If you find this project useful, please ⭐ star the repo and share your feedback.


For questions or suggestions, feel free to open an issue or contact the maintainer.

License

This project is licensed under the MIT License.


πŸ”— GitHub Repo: https://github.com/selvaganesh19/PDF-RAG-Application

About

PDF-RAG-Application: Query, search, and analyze your PDF documents interactively using Retrieval-Augmented Generation powered by Large Language Models. πŸ“„πŸ€–

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages