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.
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.
- 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.
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
- Jupyter Notebook: Explore
testing.ipynb
for a step-by-step guide on setting up Langchain and summarizing text. - Streamlit App: Run
app.py
to start the Streamlit application for an interactive summarization tool.
Contributions to improve the project are welcome. Please feel free to fork the repository, make changes, and submit a pull request.