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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df3230195de6d7cadd14c98079d89ac972b8c44bbff2d961265f7bf1da52339 |
|
MD5 | 786b6a1925a0b5f8f62042156ad2f63d |
|
BLAKE2b-256 | e4ee39df05f0309e562030671d60f26f9e63a9b0bb042f01c1b4d2b9ad3d4493 |
Close
Hashes for streamlit_chat_plus-0.0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 267cb981476aefce2ba8772a22974c2df276c231b171e7034e2cf39e11652d59 |
|
MD5 | 26c551379840592775f50056664e7efb |
|
BLAKE2b-256 | 821450a5e76ee09faf4fb4149b89c47ce537b7775a1801ddd183e131dda69fb4 |