Giter Site home page Giter Site logo

llm-pdf-chat-app's Introduction

PDF LLM-Chat App (Langchain & FAISS)

Python Streamlit Langchain FAISS OpenAI

A web application built using Langchain and Streamlit to allow users to upload their PDF files and chat with them. It leverages OpenAI API to process the PDF content and FAISS to create a vector database for efficient similarity search.

Table of Contents

Introduction

My Image

The PDF Chat App is a user-friendly web application that facilitates the upload of PDF files and enables users to engage in a chat-like interaction with their uploaded documents. By utilizing Langchain and Streamlit, this app offers a seamless experience for users to interact with their PDF content in a conversational manner.

The core functionality of the app relies on the OpenAI API, which processes the content of the PDF files to enable intelligent interactions. Additionally, the application leverages FAISS, a library for efficient similarity search, to create a vector database for the uploaded PDF files, allowing users to perform quick searches and retrieve similar documents.

Features

  • Upload and process PDF files
  • Chat-like interface for interacting with PDF content
  • Intelligent processing of PDF content using the OpenAI API
  • Efficient similarity search using FAISS
  • User-friendly and intuitive interface

Installation

  1. Clone the repository:

    git clone https://github.com/avikshit-banerjee/LLM-PDF-Chat-app.git
  2. Change to the project directory:

    cd pdf-chat-app
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Run the Streamlit app:

    streamlit run app.py
  2. Open your web browser and navigate to http://localhost:8501 to access the PDF Chat App.

  3. Upload your desired PDF file(s) to the app.

  4. Engage in a chat-like interaction with your PDF content.

Technologies

The following technologies were used in the development of this project:

  • Python: The primary programming language for building the application.
  • Streamlit: The framework used for creating the web interface.
  • Langchain: LangChain is a framework for developing applications powered by language models.
  • FAISS: A library for efficient similarity search, utilized for creating a vector database for the PDF files.
  • OpenAI: The OpenAI API is employed to process the PDF content and enable intelligent interactions.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

llm-pdf-chat-app's People

Contributors

avikshit-banerjee 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.