# Important note
This is a fork of [st-chat](https://github.com/AI-Yash/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](https://github.com/yichern).
Credit goes to the authors [@yashppawar](https://github.com/yashppawar) & [@YashVardhan-AI](https://github.com/yashvardhan-ai).
# st-talk
Streamlit Component, for a Chat-bot UI, [example app](https://share.streamlit.io/ai-yash/st-chat/main/examples/chatbot.py)
## Installation
Install `streamlit-talk` with pip
```bash
pip install streamlit-talk
```
usage, import the `message` function from `streamlit_talk`
```py
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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/yichern/st-chat",
"name": "streamlit-talk",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "chat talk streamlit streamlit-component",
"author": "Yi Chern Tan",
"author_email": "tanyichern.accs@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/07/5b/cbbc02ddbcd54c68677b83974f4cda6336855e5c9fe1407d41be05b5dcf9/streamlit-talk-0.2.1.tar.gz",
"platform": null,
"description": "# Important note\nThis is a fork of [st-chat](https://github.com/AI-Yash/st-chat) that implements functionality to pass in URL links as an avatar, and adjusts some CSS properties of the Streamlit Chat component.\n\nThe fork is maintained by [@yichern](https://github.com/yichern).\n\nCredit goes to the authors [@yashppawar](https://github.com/yashppawar) & [@YashVardhan-AI](https://github.com/yashvardhan-ai).\n\n# st-talk\n\nStreamlit Component, for a Chat-bot UI, [example app](https://share.streamlit.io/ai-yash/st-chat/main/examples/chatbot.py)\n## Installation\n\nInstall `streamlit-talk` with pip\n```bash\npip install streamlit-talk\n```\n\nusage, import the `message` function from `streamlit_talk`\n```py\nimport streamlit as st\nfrom streamlit_talk import message\n\nmessage(\"My message\") \nmessage(\"Hello bot!\", is_user=True) # align's the message to the right\n```\n \n",
"bugtrack_url": null,
"license": "",
"summary": "A streamlit component, to make a UI for chat messages in Streamlit",
"version": "0.2.1",
"split_keywords": [
"chat",
"talk",
"streamlit",
"streamlit-component"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "075bcbbc02ddbcd54c68677b83974f4cda6336855e5c9fe1407d41be05b5dcf9",
"md5": "0701decd3a9ae33b7e8d031b6d6e0a9c",
"sha256": "af94234446cc3f6955dfe91232195012e49ca3f68c50f410f77ca332ca948f3e"
},
"downloads": -1,
"filename": "streamlit-talk-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "0701decd3a9ae33b7e8d031b6d6e0a9c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 691788,
"upload_time": "2023-03-10T06:17:31",
"upload_time_iso_8601": "2023-03-10T06:17:31.699597Z",
"url": "https://files.pythonhosted.org/packages/07/5b/cbbc02ddbcd54c68677b83974f4cda6336855e5c9fe1407d41be05b5dcf9/streamlit-talk-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-10 06:17:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "yichern",
"github_project": "st-chat",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "streamlit-talk"
}