Streamlit
Streamlit is a faster way to build and share data apps.
Streamlit
turns data scripts into shareable web apps in minutes. All in pure Python. No frontโend experience required. See more examples at streamlit.io/generative-ai.
Installation and Setupโ
We need to install the streamlit
Python package:
pip install streamlit
Memoryโ
See a usage example.
from langchain_community.chat_message_histories import StreamlitChatMessageHistory
API Reference:
Callbacksโ
See a usage example.
from langchain_community.callbacks import StreamlitCallbackHandler