This is a simple chat message component for streamlit. It is based on the streamlit-chat component, trying to be as compatible as possible, but it adding a few features:
- Markdown support
- LaTeX support
- Tables
pip install st-chat-message
or
poetry add st-chat-message
import streamlit as st
from st_chat_message import message
message("Hello world!", is_user=True)
message("Hi")
- nodejs >= 18.x
- yarn >= 1.22.x
- poetry >= 1.2.x
- python >= 3.8.x
./build.sh
poetry publish
This project is licensed under the MIT License - see the LICENSE file for details