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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit_custom_chat-0.0.56.tar.gz.
File metadata
- Download URL: streamlit_custom_chat-0.0.56.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96198cd2de1465a0a9048085091209e073a05293349c43677f263e82208f7a30
|
|
| MD5 |
e07f6f658170280fd32e0d9605af7998
|
|
| BLAKE2b-256 |
967cb996dd078f54cb9ae6fb29e738584e498f2befd97f24c42170f0bf1b5c1f
|
File details
Details for the file streamlit_custom_chat-0.0.56-py3-none-any.whl.
File metadata
- Download URL: streamlit_custom_chat-0.0.56-py3-none-any.whl
- Upload date:
- Size: 685.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
894787ccf704b1eda759754eeaa002b3c16323d19b55bee0553adcae625eef53
|
|
| MD5 |
ab1907a0c17594cea1e4cd1ce282b3b5
|
|
| BLAKE2b-256 |
b81528926afd58babc0c1c4cb1c4904cd3ccc808060c51f306e2f9c71ad46a4e
|