Name | llama-index-packs-streamlit-chatbot JSON |
Version |
0.4.0
JSON |
| download |
home_page | None |
Summary | llama-index packs streamlit_chatbot integration |
upload_time | 2024-11-18 01:32:42 |
maintainer | carolinedlu |
docs_url | None |
author | Your Name |
requires_python | !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*,>=3.9 |
license | MIT |
keywords |
chatbot
snowflake
streamlit
wikipedia
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Steamlit Chatbot Pack
Build a chatbot powered by LlamaIndex that augments an LLM with the contents of Snowflake's Wikipedia page (or your own data).
- Takes user queries via Streamlit's `st.chat_input` and displays both user queries and model responses with `st.chat_message`
- Uses LlamaIndex to load and index data and create a chat engine that will retrieve context from that data to respond to each user query
- UI will stream each answer from the LLM
## CLI Usage
You can download llamapacks directly using `llamaindex-cli`, which comes installed with the `llama-index` python package:
```bash
pip install llama-index
```
```bash
llamaindex-cli download-llamapack StreamlitChatPack --download-dir ./streamlit_chatbot_pack
```
You can then inspect the files at `./streamlit_chatbot_pack` and use them as a template for your own project!
To run the app directly, use in your terminal:
```bash
export OPENAI_API_KEY="sk-..."
streamlit run ./streamlit_chatbot_pack/base.py
```
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-packs-streamlit-chatbot",
"maintainer": "carolinedlu",
"docs_url": null,
"requires_python": "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*,>=3.9",
"maintainer_email": null,
"keywords": "chatbot, snowflake, streamlit, wikipedia",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/63/14/62f7a3a8ecc9b7316348a1d7250de59a66a30a0df17718f95414d54288a7/llama_index_packs_streamlit_chatbot-0.4.0.tar.gz",
"platform": null,
"description": "# Steamlit Chatbot Pack\n\nBuild a chatbot powered by LlamaIndex that augments an LLM with the contents of Snowflake's Wikipedia page (or your own data).\n\n- Takes user queries via Streamlit's `st.chat_input` and displays both user queries and model responses with `st.chat_message`\n- Uses LlamaIndex to load and index data and create a chat engine that will retrieve context from that data to respond to each user query\n- UI will stream each answer from the LLM\n\n## CLI Usage\n\nYou can download llamapacks directly using `llamaindex-cli`, which comes installed with the `llama-index` python package:\n\n```bash\npip install llama-index\n```\n\n```bash\nllamaindex-cli download-llamapack StreamlitChatPack --download-dir ./streamlit_chatbot_pack\n```\n\nYou can then inspect the files at `./streamlit_chatbot_pack` and use them as a template for your own project!\n\nTo run the app directly, use in your terminal:\n\n```bash\nexport OPENAI_API_KEY=\"sk-...\"\nstreamlit run ./streamlit_chatbot_pack/base.py\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index packs streamlit_chatbot integration",
"version": "0.4.0",
"project_urls": null,
"split_keywords": [
"chatbot",
" snowflake",
" streamlit",
" wikipedia"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ea7081f663d2e36abe3c630279982668180a6b33cc1066f709d3d42dfec32c3d",
"md5": "66276848c51a54919d15431715676109",
"sha256": "36c37b349747fb77a1ca168b1e2b2110ecfdbcec9b5158300243d9d164509aaa"
},
"downloads": -1,
"filename": "llama_index_packs_streamlit_chatbot-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "66276848c51a54919d15431715676109",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*,>=3.9",
"size": 4029,
"upload_time": "2024-11-18T01:32:40",
"upload_time_iso_8601": "2024-11-18T01:32:40.555668Z",
"url": "https://files.pythonhosted.org/packages/ea/70/81f663d2e36abe3c630279982668180a6b33cc1066f709d3d42dfec32c3d/llama_index_packs_streamlit_chatbot-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "631462f7a3a8ecc9b7316348a1d7250de59a66a30a0df17718f95414d54288a7",
"md5": "29d3fcf791fb0b3baa7a8e67b33af8d7",
"sha256": "fe4ac7a136c3fe812d1d03abb2df0ab93649d54a145672357096e0ffc4a7fa4b"
},
"downloads": -1,
"filename": "llama_index_packs_streamlit_chatbot-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "29d3fcf791fb0b3baa7a8e67b33af8d7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*,>=3.9",
"size": 3736,
"upload_time": "2024-11-18T01:32:42",
"upload_time_iso_8601": "2024-11-18T01:32:42.011802Z",
"url": "https://files.pythonhosted.org/packages/63/14/62f7a3a8ecc9b7316348a1d7250de59a66a30a0df17718f95414d54288a7/llama_index_packs_streamlit_chatbot-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-18 01:32:42",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-packs-streamlit-chatbot"
}