GithubHelp home page GithubHelp logo

manuthvann216 / chatwithpdf_openai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from john-thuo1/chatwithpdf

0.0 0.0 0.0 3.42 MB

This project allows you to upload a PDF document and ask questions about its content. It uses langchain, openai api model and Facebook Ai Similarity Search(FAISS) library to process the text in the PDF and provide answers to questions pertaining the document.

License: MIT License

Python 100.00%

chatwithpdf_openai's Introduction

chatWithPDF

This project allows you to upload a PDF document and ask questions about its content. It uses langchain, openapi ai model and Facebook Ai Similarity Search(FAISS) library to process the text in the PDF and provide answers to questions pertaining the document.

Project Screen

image

Cost

image

Installation

  1. Clone the repository:

    git clone https://github.com/john-thuo1/chatWithPDF
    cd into your directory/ open with vscode
  2. Create a Virtual Environment:

    python -m venv env
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Create OpenAI API Key and add it to your .env file: openai

  5. Run the application:

    streamlit run App.py

Next Steps

  1. Add support for multiple file formats
  2. Implement Document Indexing techniques by use of libraries such as Elasticsearch or Apache Solr
  3. Enhance question answering capabilities: Explore advanced question answering techniques, such as using transformer models like BERT or GPT, to improve the accuracy and comprehension of the system.
  4. Use a model that supports multiple languages, most notably some BERT models do support this.

chatwithpdf_openai's People

Contributors

john-thuo1 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.