/langchain-streamlit

[Stream LLMs with LangChain + Streamlit | Tutorial](https://www.youtube.com/watch?v=zKGeRWjJlTU)

Primary LanguagePythonMIT LicenseMIT

ChatGPT clone with Streaming Feature using Streamlit

This repository accompanies the YouTube tutorial on how to stream the output of a chatbot as it is being generated.

Welcome to the GitHub repository for the Streaming tutorial form LangChain and Streamlit. This repository contains the code for the Streamlit app that we will be building in the tutorial. The app is a chatbot that will remember the previous messages and respond to the user's input. The response from the chatbot will be streamed as it is being generated.

Usage

To run the app, you will need to have Python installed on your machine. You can install the required packages by running the following command in your terminal:

pip install -r requirements.txt

Once you have installed the required packages, you can run the app by running the following command in your terminal:

streamlit run src/app.py

This will start the Streamlit app, and you will be able to interact with the chatbot in your web browser.

Contributing

This repository is intended only for educational purposes. The only contributions that will be accepted are those that fix typos or inconsistencies with the tutorial.

License

This repository is licensed under the MIT License. See the LICENSE file for more information.