Skip to content

lvyufeng/ChatPDF

Repository files navigation

ChatPDF

The ChatPDF(PDF Chatbot) is an application that allows users to upload PDF files and interact with pdf using a chatbot. Users can ask questions or provide input, and the chatbot will generate responses based on the provided information.

Technologies Used

  • MindSpore
  • MindNLP
  • ms2vec
  • msimilarities

Demo Video

Demo Video

ChatPDF

Installation

  1. Clone the repository:

    git clone https://github.com/lvyufeng/ChatPDF.git
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Run the application:

    # complex version
    python simple_ui.py
    # complex version
    python complex_ui.py
  2. Access the application in your web browser as specified in the console.

  3. To preview a PDF file, click the "Upload PDF" button and select the PDF file from your local machine. The application will display a preview of the PDF file.

  4. Use the chatbox to ask questions or have a conversation with the chatbot. The chatbot will generate responses based on the input.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages