Git Product home page Git Product logo

langchain-pdf-streamlit-py's Introduction

PDF-QA

PDF-QA is a web-based application that allows users to extract insights from PDF documents by asking questions. The application leverages the power of Langchain, Streamlit, and OpenAI to provide an intuitive and interactive platform for extracting valuable information from PDFs.

Features

  • Upload PDF files: Users can easily upload PDF files through the user-friendly interface.
  • Ask questions: Users can enter their questions related to the content of the PDF documents.
  • PDF text extraction: The application automatically extracts the text content from the uploaded PDF files.
  • Question answering: The extracted text is processed using OpenAI's advanced language models to provide accurate answers to user queries.
  • Display of answers: The application presents the answers to user questions in a user-friendly interface.
  • Dark theme and modern UI: The application features a visually appealing dark theme and modern user interface.

Technologies Used

  • Python
  • Langchain
  • Streamlit
  • OpenAI

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/pdf-qa.git
    
  2. Install the dependencies:

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

    streamlit run app.py
    
  4. Open your web browser and navigate to http://localhost:8501 to access the PDF-QA application.

Usage

  1. Upload a PDF file by clicking on the "Upload PDF" button and selecting the desired file.
  2. Enter your question in the "Enter your question" input field.
  3. Click the "Submit" button to submit your question.
  4. The application will process the PDF and provide the answer to your question.
  5. The answer will be displayed in the "Answer" section of the interface.

langchain-pdf-streamlit-py's People

Contributors

taherahmedashraf 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.