llama-index-packs-streamlit-chatbot


Namellama-index-packs-streamlit-chatbot JSON
Version 0.5.0 PyPI version JSON
download
home_pageNone
Summaryllama-index packs streamlit_chatbot integration
upload_time2025-07-31 00:38:20
maintainercarolinedlu
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
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": ">=3.9",
    "maintainer_email": null,
    "keywords": "chatbot, snowflake, streamlit, wikipedia",
    "author": null,
    "author_email": "Your Name <you@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/9e/3d/dd0bf09f1d11c6c6ef2815e1e1bf2d30153b0ac67ea3541a4b6edcbe49b7/llama_index_packs_streamlit_chatbot-0.5.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": null,
    "summary": "llama-index packs streamlit_chatbot integration",
    "version": "0.5.0",
    "project_urls": null,
    "split_keywords": [
        "chatbot",
        " snowflake",
        " streamlit",
        " wikipedia"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f6b998d16b3f25e10d9d8e2423740f56dca69bb806ae8599fb57cf009f1766e4",
                "md5": "5099b98cd2698da147cbe95779503058",
                "sha256": "6df7bf5318732a2756d0bd799d078031ef6944f27a8f95097f1ae10a99ddbfc4"
            },
            "downloads": -1,
            "filename": "llama_index_packs_streamlit_chatbot-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5099b98cd2698da147cbe95779503058",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4843,
            "upload_time": "2025-07-31T00:38:19",
            "upload_time_iso_8601": "2025-07-31T00:38:19.875120Z",
            "url": "https://files.pythonhosted.org/packages/f6/b9/98d16b3f25e10d9d8e2423740f56dca69bb806ae8599fb57cf009f1766e4/llama_index_packs_streamlit_chatbot-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9e3ddd0bf09f1d11c6c6ef2815e1e1bf2d30153b0ac67ea3541a4b6edcbe49b7",
                "md5": "9e786c7ec38de2d17ba06fe5d4c0d27d",
                "sha256": "859a4fb23468afdc42cf1eb25847aa1de4b3cf89f71babd3565d1355b7c6c624"
            },
            "downloads": -1,
            "filename": "llama_index_packs_streamlit_chatbot-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9e786c7ec38de2d17ba06fe5d4c0d27d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 5128,
            "upload_time": "2025-07-31T00:38:20",
            "upload_time_iso_8601": "2025-07-31T00:38:20.626337Z",
            "url": "https://files.pythonhosted.org/packages/9e/3d/dd0bf09f1d11c6c6ef2815e1e1bf2d30153b0ac67ea3541a4b6edcbe49b7/llama_index_packs_streamlit_chatbot-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-31 00:38:20",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-packs-streamlit-chatbot"
}
        
Elapsed time: 1.65591s