https://github.com/dataprofessor/langchain-text-summarization
Text Summarization App built using Langchain and Streamlit
https://github.com/dataprofessor/langchain-text-summarization
langchain langchain-python large-language-models llm streamlit
Last synced: about 2 months ago
JSON representation
Text Summarization App built using Langchain and Streamlit
- Host: GitHub
- URL: https://github.com/dataprofessor/langchain-text-summarization
- Owner: dataprofessor
- Created: 2023-05-16T12:05:47.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-06T18:24:34.000Z (7 months ago)
- Last Synced: 2025-04-10T01:12:58.974Z (about 2 months ago)
- Topics: langchain, langchain-python, large-language-models, llm, streamlit
- Language: Python
- Homepage: https://langchain-text-summarization.streamlit.app/
- Size: 428 KB
- Stars: 32
- Watchers: 1
- Forks: 49
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🦜🔗 Langchain - Text Summarization App
```
Text Summarization App built using Langchain and Streamlit
```## Overview of the App
- Accepts a paragraph of text as the input text (to be summarized) using Streamlit's `st.text_input()`
- Text is split into chunks via `CharacterTextSplitter()` along with its `split_text()` method
- Document is generated via `Document()
- Text summarization is achieved using `load_summarize_chain()` by applying the `run()` method on the input `docs`.## Demo App
[](https://langchain-text-summarization.streamlit.app/)
## Get an OpenAI API key
You can get your own OpenAI API key by following the following instructions:
1. Go to https://platform.openai.com/account/api-keys.
2. Click on the `+ Create new secret key` button.
3. Next, enter an identifier name (optional) and click on the `Create secret key` button.