Skip to main content

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

sample-page

authors - @osala-eng @yashppawar @YashVardhan-AI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-chat-plus-0.0.0.3.tar.gz (1.5 MB view hashes)

Uploaded Source

Built Distribution

streamlit_chat_plus-0.0.0.3-py3-none-any.whl (1.6 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page