GithubHelp home page GithubHelp logo

parthy007 / docubot-ai Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1008 KB

The AI PDF Reader is an innovative web application that empowers users to interact with the content of their PDF documents through a chat interface.

HTML 14.34% CSS 4.04% JavaScript 55.35% Python 26.28%
langchain reactjs tailwindcss fastapi

docubot-ai's Introduction

PDF CHATBOT

The AI PDF Reader is an innovative web application that empowers users to interact with the content of their PDF documents through a chat interface. With this tool, users can seamlessly upload their PDF files, engage in conversations based on the document content, and even ask follow-up questions for deeper insights. Dive into your PDFs like never before and unlock the potential of intelligent document interaction with the AI PDF Reader.

Images

Mobile View Desktop View

A typical top-level directory layout

├── client                   # Frontend
├── server                   # Backend
├── README.md                # Readme file
Client
├── ...
├── src
│        ├── assets                 # Svg files
│        ├── components             # Source files for UI Interface
│        ├── App.js
│        ├── index.js
└── ...
Server
 ├── ...
 ├── main.py                   # Main backend code
 ├── requirements.txt          # Dependency file
 └── ...

Installation

Follow these steps to set up and run the AI PDF Reader application on your local machine.

Prerequisites

  • Git
  • Node.js
  • Python 3.x
  • npm (Node Package Manager)

Instructions

1. Clone the Repository

Clone the AI-PDF Reader repository to your local machine:

  • clone repo
    git clone https://github.com/parthy007/aipdfreader.git

2. Navigate to the Client Directory

  • Go to client
    cd client
  • Install frontend dependencies
    npm install
  • Run frontend
    npm run start

3. Navigate to the Server Directory

  • Go to server directory
    cd ..
    cd server
  • Create a Python virtual environment:
    python3 -m virtualenv my_env
  • Install the Python dependencies using pip:
    pip install -r requirements.txt

4. Create .env file in Server Directory

Create a .env file in the server directory and add your OpenAI API key:

  • Add the following line to the .env file:
    OPENAI_API_KEY = YOUR_OWN_API_KEY

You can create your own api key using the OpenAI API

  • Run the server
uvicorn main:app --reload

API Documentations

  1. LangChain
  2. React
  3. React Hot Toast
  4. FastAPI
  5. OpenAI Api
  6. Tailwind CSS

docubot-ai's People

Contributors

parthy007 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.