Skip to content

mrqadeer/multi-file-documentGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-File Document Chatbot

Document Master

Check it out: Streamlit App

Overview

Document Master is an advanced multi-file chatbot designed to facilitate interaction with PDF and MS Word documents. Leveraging OpenAI with LangChain and Hugging Face embedding models, this chatbot can handle questions from multiple documents simultaneously.

Key Features

  • Multi-File Support: Upload and process multiple PDF and DOCX files concurrently.
  • Advanced Embeddings: Choose from several Hugging Face embedding models (all-MiniLM-L6-v2, bert-base-uncased, bert-large-uncased, roberta-base) to vectorize document chunks.
  • Interactive Chat: Ask questions related to your uploaded documents and receive precise answers.
  • Streamlit Integration: A user-friendly interface built with Streamlit for easy interaction.

Setup

Prerequisites

  • Python 3.8+
  • An OpenAI API Key

Installation

  1. Clone the repository:

    git clone https://github.com/mrqadeer/multi-file-documentGPT.git
    cd multi-file-documentGPT
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install dependencies:

    pip install -r requirements.txt

Running the Application

  1. Start the Streamlit app:

    streamlit run app.py
  2. Interact with the Chatbot:

    • Enter your name and OpenAI API key.
    • Set the desired temperature for the language model.
    • Choose your embedding model.
    • Upload your PDF and DOCX files.
    • Ask questions and get answers from your documents.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Special thanks to:

  • Sir Irfan Malik for his guidance and support.
  • Hope To Skill for providing resources.
  • Artificial Intelligence Course for the foundational knowledge.

Contact

For any questions or suggestions, please feel free to reach out to me via GitHub Issues.


Happy Document Chatting!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages