Skip to content

Latest commit

 

History

History

url-summary

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

langchain-url-summary

A sample Streamlit application to summarize URL content using LangChain and OpenAI.

LangChain is an open-source framework created to aid the development of applications leveraging the power of large language models (LLMs). It can be used for chatbots, text summarisation, data generation, code understanding, question answering, evaluation, and more. This project uses the UnstructuredURLLoader class to load URL data, and the load_summarize_chain chain to generate a summary. Instead of the default model, it uses the gpt-3.5-turbo chat model for better results and cost-effectiveness.

langchain-url

Here's a sample OpenAI-generated URL content summary. If you don't have an OpenAI API key, get it here.

langchain-url-summary

For a detailed guide, see this post. To deploy on Railway using a one-click template, click the button below.

Deploy on Railway