A streamlit component, to make chatbots
Project description
st-chat-plus
Streamlit Component, for a Chat-bot UI, example app
Installation
Install streamlit-chat-plus
with pip
pip install streamlit-chat-plus
usage, import the message
function from streamlit_chat_plus
import streamlit as st
from streamlit_chat_plus import message
message("My message")
message("Hello bot!", is_user=True) # align's the message to the right
### To use markdown in the message
message("Hello bot!", is_user=True, allow_html=True)
"""
This Enables markdown in the message and allows you to use html tags
By default this will open links in a new tab, to disable this set `open_links_externally` to False
"""
Screenshot
authors - @osala-eng @yashppawar @YashVardhan-AI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for streamlit-chat-plus-0.0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 798c994c231b71d70f4c429d78ff90a390ad2d736920eeac7aa9452a72078476 |
|
MD5 | ec5612920bcec41a3888932d94ad19fb |
|
BLAKE2b-256 | d9eb14ed759c460e977014c5220aa72cfb1ec31b76f198b225edacee496330c1 |
Close
Hashes for streamlit_chat_plus-0.0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f623eb7266a8dc05263eba3de621b8917bdcbca8d5ebe16dbef3d53c1af2cfe |
|
MD5 | ee511fd261cc2ade2f387071801620a2 |
|
BLAKE2b-256 | c074f63f9680023e106501dace2da5fab52205ba28cf6880c58c375178f1b219 |