Skip to main content

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

Project description

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_chat

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

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-talk-0.0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

streamlit_talk-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file streamlit-talk-0.0.1.tar.gz.

File metadata

  • Download URL: streamlit-talk-0.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for streamlit-talk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b2b0aa20b7b6fe00ca360cb703d31a68d6e8c74f442011df3be17cfc5c068b3e
MD5 96b5eec7cd9bddf2f623027b95b753d3
BLAKE2b-256 0acc6bf33c81c4638eaf7f8c26739a296a606e88f3bee51491a44735e9d62d63

See more details on using hashes here.

File details

Details for the file streamlit_talk-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: streamlit_talk-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for streamlit_talk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d312bbca4093109bedc9e302669f9e40c2c9c60eba1072bba3572b3d42fe08f7
MD5 38e6f54af2c25e1f50cb32142f125195
BLAKE2b-256 e6dff62441801d922740974de41e6f0ef40ee669c67ee4111b0d29eed3608f90

See more details on using hashes here.

Supported by

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