Skip to content

Latest commit

 

History

History
71 lines (54 loc) · 2.24 KB

README.md

File metadata and controls

71 lines (54 loc) · 2.24 KB

Chat with Files: QnA Chatbot for PDFs

GitHub stars GitHub

Introduction

Chat with Files is an AI-powered QnA chatbot built on the Llama 70b model, designed to extract information and answer questions from multiple PDF documents. This application simplifies information retrieval from documents, enabling streamlined communication with large volumes of textual data.

Demo

Visit the live application: Chat with Files

Features

  • Perform QnA on multiple PDFs simultaneously.
  • Intuitive user interface for easy interaction.
  • Extracts information swiftly from uploaded documents.
  • Provides accurate responses to inquiries based on PDF content.

Usage

To use this project locally:

  1. Clone the repository:

    git clone https:/HemantModi11/ChatwithDocs.git
    cd ChatwithDocs
  2. Create a virtual environment:

    python3 -m venv venv
  3. Activate the virtual environment:

    • On Windows:
      venv\Scripts\activate
    • On macOS and Linux:
      source venv/bin/activate
  4. Install dependencies:

    pip install -r requirements.txt
  5. Run the application:

    streamlit run app.py
  6. Access the application:

    • Open your web browser and go to http://localhost:8501 to interact with the chatbot.
    • Upload PDFs and wait for a few moments for document processing.
    • The QnA section will become available once the PDFs have been processed.

NOTE: Please assign your replicate token key in the .env file, you can get your key from Replicate for free.

Contributing

Contributions are welcome! Please create a pull request with proposed changes.

Issues

Found a bug or have suggestions? Please open an issue here.

License

This project is licensed under the MIT License.

Author

Hemant Modi