A Streamlit component for building chatbot UIs. Current version 0.1.1, requires Python >=3.6. The package provides a simple message display component with avatar support, but is in early maintenance mode with no recent updates.
pip install streamlit-chatVerified import paths — ran on the pinned version, not inferred.
Minimal example displaying two chat messages (bot and user).
Always pass a unique `key` string (e.g., f"msg_{i}") to each `message()` call.Consider using native Streamlit chat elements (`st.chat_message`, `st.chat_input`) instead.
Set custom avatars via the `avatar_style` and `seed` parameters, or ensure internet access.
Use dynamic keys: `message("text", key=f"msg_{i}")`.Run `import streamlit_chat` instead of st_chat.
No dependency data recorded yet.