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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file streamlit-chat-plus-0.0.0.3.tar.gz.

File metadata

  • Download URL: streamlit-chat-plus-0.0.0.3.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for streamlit-chat-plus-0.0.0.3.tar.gz
Algorithm Hash digest
SHA256 798c994c231b71d70f4c429d78ff90a390ad2d736920eeac7aa9452a72078476
MD5 ec5612920bcec41a3888932d94ad19fb
BLAKE2b-256 d9eb14ed759c460e977014c5220aa72cfb1ec31b76f198b225edacee496330c1

See more details on using hashes here.

File details

Details for the file streamlit_chat_plus-0.0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_chat_plus-0.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f623eb7266a8dc05263eba3de621b8917bdcbca8d5ebe16dbef3d53c1af2cfe
MD5 ee511fd261cc2ade2f387071801620a2
BLAKE2b-256 c074f63f9680023e106501dace2da5fab52205ba28cf6880c58c375178f1b219

See more details on using hashes here.

Supported by

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