Skip to content

How to stream the generation of a LLM in your Streamlit application

License

Notifications You must be signed in to change notification settings

alejandro-ao/yt-stream-langchain-streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

How to stream the generation of a LLM in your Streamlit application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages