talhaanwarch / doc_chat

Create a production level scalable chat bot to respond from the fed data
https://gptdemo.talhaanwar.com/
1 stars 0 forks source link
chatbot huggingface langchain llms openai

Scalable Web Application for PDF Chat using ChatGPT

Welcome to our Web Application for PDF Chat powered by OpenAI's ChatGPT! This application allows users to upload PDF documents, utilize ChatGPT for natural language processing, and engage in interactive conversations with their data. Each user's data is kept separate from others, ensuring privacy and security.

Website: https://gptdemo.talhaanwar.com/
Dasboard: https://dashboard.talhaanwar.com/
Server: https://server-monitor.talhaanwar.com/

This README will guide you through the deployment and usage of the application.

Table of Contents

Introduction

The Web Application for PDF Chat is designed to provide an interactive and user-friendly experience for users to engage with their uploaded PDF documents. The application integrates OpenAI's GPT-3.5, which is a powerful natural language processing model, to enable seamless conversations and answer retrieval based on user queries. The backend is built using FastAPI, and user authentication is also included to ensure secure access to individual data.

Features

Prerequisites

Before deploying the application, ensure that you have the following components:

  1. Docker
  2. Docker Compose
  3. S3 account
  4. OpenAI API

Installation

  1. Clone the repository from GitHub:
git clone https://github.com/talhaanwarch/doc_chat.git
  1. Navigate to the project directory:
cd doc_chat
  1. Create an .env file and set the required environment variables. You can use the example.env file as a reference.
cp example.env .env
  1. Build and deploy the application using the provided deploy.sh script:
./deploy.sh

This script will stop and remove any existing Docker containers, clear dangling volumes, and then deploy the three Docker Compose files for the backend, Milvus vector database, and ToolJet dashboard.

Usage

Once the application is successfully deployed, you can access the following pages from your web browser:

Technologies Used

The Web Application for PDF Chat leverages the following technologies:

Contributing

We welcome contributions to enhance the features and usability of our Web Application for PDF Chat. If you find any bugs or have suggestions for improvements, please feel free to open issues or submit pull requests.

License

The Web Application for PDF Chat is open-source and available under the CC-BY-NC. You are free to use, modify, and distribute the code as per the terms of the license.


Thank you for using our Web Application for PDF Chat! If you have any questions or need further assistance, please don't hesitate to contact us or raise an issue on GitHub. Happy chatting with your data!