Skip to main content

Streamlit component for displaying chat messages

Project description

streamlit_custom_chat

Streamlit custom chat messages and container for the chat messages, takes an array of messages for an llm, where each messages can have user or assitant role and the array is configured as [{"role":"user", "content":"", "key":""}, {"role":"assistant", "content":"", "key":""}]

Installation instructions

python -m pip install --index-url https://test.pypi.org/simple/ --no-deps streamlit_custom_chat

Usage instructions

import streamlit as st

from streamlit_custom_chat import ChatContainer

value = ChatContainer(messages=[], key="")

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_custom_chat-0.0.55.tar.gz (682.6 kB view details)

Uploaded Source

Built Distribution

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

streamlit_custom_chat-0.0.55-py3-none-any.whl (685.5 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_custom_chat-0.0.55.tar.gz.

File metadata

  • Download URL: streamlit_custom_chat-0.0.55.tar.gz
  • Upload date:
  • Size: 682.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for streamlit_custom_chat-0.0.55.tar.gz
Algorithm Hash digest
SHA256 3d53b43b7de406ee3010cd94fe51298502c56f18e145e66afaa2f9eb7db32da0
MD5 8468b8cb0d7ed922e4d0d4d9f1b8d931
BLAKE2b-256 347cd4884dd4e071aef800310c59d56efe2a5850b3dbb3e77d49cd3ec0b14250

See more details on using hashes here.

File details

Details for the file streamlit_custom_chat-0.0.55-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_custom_chat-0.0.55-py3-none-any.whl
Algorithm Hash digest
SHA256 9efacd197b54d6a93ab75c9055777d06efaa938019f11892107d743256ba8bbd
MD5 d90daed3a6c36dd9003cfcf31b88043d
BLAKE2b-256 5bf6b94123d1e8ba4777e326aaa319a5a95fa20561831a30772c4d72dfac5b21

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