streamlit-talk

A streamlit component, to make a UI for chat messages in Streamlit


Keywords
chat, talk, streamlit, streamlit-component
License
MIT
Install
pip install streamlit-talk==0.2.1

Documentation

Important note

This is a fork of st-chat that implements functionality to pass in URL links as an avatar, and adjusts some CSS properties of the Streamlit Chat component.

The fork is maintained by @yichern.

Credit goes to the authors @yashppawar & @YashVardhan-AI.

st-talk

Streamlit Component, for a Chat-bot UI, example app

Installation

Install streamlit-talk with pip

pip install streamlit-talk

usage, import the message function from streamlit_talk

import streamlit as st
from streamlit_talk import message

message("My message") 
message("Hello bot!", is_user=True)  # align's the message to the right