Skip to content

Google-Palm powered web aplication allowing you to query your own PDF file. Uses streamlit for UI, ChromaDB to store embeddings and langchain.

Notifications You must be signed in to change notification settings

aman-kumar29/Ask-PDF

Repository files navigation

Text Summarization with Langchain

This project is dedicated to creating a text summarization application using Langchain, a library for building language model chains. It leverages Google's Palm language model to summarize large blocks of text into concise, informative summaries.

Overview

The project includes a Jupyter notebook (testing.ipynb) that demonstrates the process of setting up Langchain with Google Palm's API and creating a language model chain for text summarization. Additionally, it features a Streamlit application (app.py) for a more interactive experience.

Features

  • Langchain Integration: Utilizes Langchain to build a chain with Google's Palm language model for text summarization.
  • Google Palm API: Leverages the Google API for processing and summarizing text.
  • Streamlit App: Includes a Streamlit application for an interactive text summarization experience.
  • Jupyter Notebook: Provides a detailed walkthrough of the setup and usage of Langchain for text summarization.

Installation

To use this project, clone the repository and install the required dependencies:

git clone https://github.com/aman-kumar29/Ask-PDF.git
cd Ask-PDF
pip install langchain openai streamlit sentence-transformer

Usage

  1. Jupyter Notebook: Explore testing.ipynb for a step-by-step guide on setting up Langchain and summarizing text.
  2. Streamlit App: Run app.py to start the Streamlit application for an interactive summarization tool.

Contributing

Contributions to improve the project are welcome. Please feel free to fork the repository, make changes, and submit a pull request.

About

Google-Palm powered web aplication allowing you to query your own PDF file. Uses streamlit for UI, ChromaDB to store embeddings and langchain.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published