# st-chat
Streamlit Component, for a Chat-bot UI, [example app](https://share.streamlit.io/ai-yash/st-chat/main/examples/chatbot.py)
authors - [@yashppawar](https://github.com/yashppawar) & [@YashVardhan-AI](https://github.com/yashvardhan-ai)
## Installation
Install `streamlit-chat` with pip
```bash
pip install streamlit-chat
```
usage, import the `message` function from `streamlit_chat`
```py
import streamlit as st
from streamlit_chat import message
message("My message")
message("Hello bot!", is_user=True) # align's the message to the right
```
### Screenshot
![chatbot-og](https://user-images.githubusercontent.com/90775147/210397700-5ab9e00d-a61b-4bc9-a34a-b5bd4454b084.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/AI-Yash/st-chat",
"name": "streamlit-chat-latest",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "chat streamlit streamlit-component",
"author": "Yash Pravin Pawar, Yash Vardhan Kapil",
"author_email": "yashpawarp@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/10/30/ba05578cc792672ae081609928c3c195e7d0870e48d646a7f48a10dca7c5/streamlit-chat-latest-0.0.2.3.tar.gz",
"platform": null,
"description": "# st-chat\r\n\r\nStreamlit Component, for a Chat-bot UI, [example app](https://share.streamlit.io/ai-yash/st-chat/main/examples/chatbot.py)\r\n\r\nauthors - [@yashppawar](https://github.com/yashppawar) & [@YashVardhan-AI](https://github.com/yashvardhan-ai)\r\n\r\n## Installation\r\n\r\nInstall `streamlit-chat` with pip\r\n```bash\r\npip install streamlit-chat \r\n```\r\n\r\nusage, import the `message` function from `streamlit_chat`\r\n```py\r\nimport streamlit as st\r\nfrom streamlit_chat import message\r\n\r\nmessage(\"My message\") \r\nmessage(\"Hello bot!\", is_user=True) # align's the message to the right\r\n```\r\n \r\n### Screenshot\r\n\r\n![chatbot-og](https://user-images.githubusercontent.com/90775147/210397700-5ab9e00d-a61b-4bc9-a34a-b5bd4454b084.png)\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A streamlit component, to make chatbots",
"version": "0.0.2.3",
"project_urls": {
"Homepage": "https://github.com/AI-Yash/st-chat"
},
"split_keywords": [
"chat",
"streamlit",
"streamlit-component"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1030ba05578cc792672ae081609928c3c195e7d0870e48d646a7f48a10dca7c5",
"md5": "68fd8375273cf1bcabe18ec43ca4af09",
"sha256": "af44ae423a8415665fd08bf6765373a2f82518ca01fdd025a1f1091802ca539a"
},
"downloads": -1,
"filename": "streamlit-chat-latest-0.0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "68fd8375273cf1bcabe18ec43ca4af09",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 648193,
"upload_time": "2023-06-15T20:59:28",
"upload_time_iso_8601": "2023-06-15T20:59:28.673676Z",
"url": "https://files.pythonhosted.org/packages/10/30/ba05578cc792672ae081609928c3c195e7d0870e48d646a7f48a10dca7c5/streamlit-chat-latest-0.0.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-15 20:59:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AI-Yash",
"github_project": "st-chat",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "streamlit",
"specs": []
},
{
"name": "streamlit-chat",
"specs": [
[
"==",
"0.0.2.2"
]
]
},
{
"name": "requests",
"specs": []
}
],
"lcname": "streamlit-chat-latest"
}